pub enum NameMatchMode {
Exact,
ExactOrSuffix,
}Expand description
Field-name matching mode used for sensitivity lookup.
Variants§
Exact
Match only the canonicalized field name exactly.
ExactOrSuffix
Match exactly first, then match contextual names by canonical suffix.
Trait Implementations§
Source§impl Clone for NameMatchMode
impl Clone for NameMatchMode
Source§fn clone(&self) -> NameMatchMode
fn clone(&self) -> NameMatchMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NameMatchMode
impl Debug for NameMatchMode
Source§impl Hash for NameMatchMode
impl Hash for NameMatchMode
Source§impl PartialEq for NameMatchMode
impl PartialEq for NameMatchMode
Source§fn eq(&self, other: &NameMatchMode) -> bool
fn eq(&self, other: &NameMatchMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NameMatchMode
impl Eq for NameMatchMode
impl StructuralPartialEq for NameMatchMode
Auto Trait Implementations§
impl Freeze for NameMatchMode
impl RefUnwindSafe for NameMatchMode
impl Send for NameMatchMode
impl Sync for NameMatchMode
impl Unpin for NameMatchMode
impl UnsafeUnpin for NameMatchMode
impl UnwindSafe for NameMatchMode
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