pub struct NameRule {
pub kind: FieldKind,
pub contains: Vec<String>,
pub exact: Vec<String>,
pub starts_with: Vec<String>,
pub ends_with: Vec<String>,
}Expand description
A single name-matching rule mapping one or more column-name patterns to a FieldKind.
Fields§
§kind: FieldKind§contains: Vec<String>§exact: Vec<String>§starts_with: Vec<String>§ends_with: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NameRule
impl<'de> Deserialize<'de> for NameRule
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 NameRule
impl RefUnwindSafe for NameRule
impl Send for NameRule
impl Sync for NameRule
impl Unpin for NameRule
impl UnsafeUnpin for NameRule
impl UnwindSafe for NameRule
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