pub enum Ignore {
Exact {
exact: Vec<String>,
},
}
Expand description
Root structure to hold the ignore method type Using #[serde(untagged)] at the moment due to issue https://github.com/alexcrichton/toml-rs/issues/225
Variants§
Exact
Variant to ignore by exact string match
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ignore
impl<'de> Deserialize<'de> for Ignore
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 Ignore
impl RefUnwindSafe for Ignore
impl Send for Ignore
impl Sync for Ignore
impl Unpin for Ignore
impl UnwindSafe for Ignore
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