pub struct NormalizationDef {
pub strip_prefixes: Vec<String>,
pub strip_suffixes: Vec<String>,
pub underscore_to_space: bool,
pub strip_camel_test_prefix: bool,
pub raw: bool,
}Fields§
§strip_prefixes: Vec<String>§strip_suffixes: Vec<String>§underscore_to_space: bool§strip_camel_test_prefix: bool§raw: boolTrait Implementations§
Source§impl Debug for NormalizationDef
impl Debug for NormalizationDef
Source§impl Default for NormalizationDef
impl Default for NormalizationDef
Source§fn default() -> NormalizationDef
fn default() -> NormalizationDef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NormalizationDef
impl<'de> Deserialize<'de> for NormalizationDef
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
Auto Trait Implementations§
impl Freeze for NormalizationDef
impl RefUnwindSafe for NormalizationDef
impl Send for NormalizationDef
impl Sync for NormalizationDef
impl Unpin for NormalizationDef
impl UnsafeUnpin for NormalizationDef
impl UnwindSafe for NormalizationDef
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more