pub struct NormalizationConfig {
pub string_case: StringCaseRule,
pub float_precision: Option<usize>,
pub remove_trailing_zeros: bool,
pub semantic_dictionary: Option<SemanticDictionary>,
}Expand description
Configuration for value normalization
Fields§
§string_case: StringCaseRuleString case transformation rule
float_precision: Option<usize>Optional decimal precision for floats
remove_trailing_zeros: boolWhether to remove trailing zeros from floats
semantic_dictionary: Option<SemanticDictionary>Optional semantic dictionary for equivalence normalization
Trait Implementations§
Source§impl Clone for NormalizationConfig
impl Clone for NormalizationConfig
Source§fn clone(&self) -> NormalizationConfig
fn clone(&self) -> NormalizationConfig
Returns a duplicate 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 NormalizationConfig
impl Debug for NormalizationConfig
Auto Trait Implementations§
impl Freeze for NormalizationConfig
impl RefUnwindSafe for NormalizationConfig
impl Send for NormalizationConfig
impl Sync for NormalizationConfig
impl Unpin for NormalizationConfig
impl UnwindSafe for NormalizationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more