Struct errmapgen::ErrmapOptions
source · pub struct ErrmapOptions {
pub error_prefix: String,
pub error_category_module: ModuleId,
pub output_file: String,
}
Fields§
§error_prefix: String
The constant prefix that determines if a constant is an error or not
error_category_module: ModuleId
The module ID of the error category module
output_file: String
In which file to store the output
Trait Implementations§
source§impl Clone for ErrmapOptions
impl Clone for ErrmapOptions
source§fn clone(&self) -> ErrmapOptions
fn clone(&self) -> ErrmapOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ErrmapOptions
impl Debug for ErrmapOptions
source§impl Default for ErrmapOptions
impl Default for ErrmapOptions
source§impl<'de> Deserialize<'de> for ErrmapOptions
impl<'de> Deserialize<'de> for ErrmapOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more