pub enum KeyValuePattern {
ColonSeparated,
SpatialAlignment,
Tabular,
}Expand description
Pattern used to detect a key-value pair.
Variants§
ColonSeparated
Colon-separated format: “Label: Value”
SpatialAlignment
Spatially aligned format: “Label Value”
Tabular
Tab-separated format: “Label\tValue”
Trait Implementations§
Source§impl Clone for KeyValuePattern
impl Clone for KeyValuePattern
Source§fn clone(&self) -> KeyValuePattern
fn clone(&self) -> KeyValuePattern
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 moreimpl Copy for KeyValuePattern
Source§impl Debug for KeyValuePattern
impl Debug for KeyValuePattern
Source§impl<'de> Deserialize<'de> for KeyValuePattern
impl<'de> Deserialize<'de> for KeyValuePattern
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
impl Eq for KeyValuePattern
Source§impl PartialEq for KeyValuePattern
impl PartialEq for KeyValuePattern
Source§impl Serialize for KeyValuePattern
impl Serialize for KeyValuePattern
impl StructuralPartialEq for KeyValuePattern
Auto Trait Implementations§
impl Freeze for KeyValuePattern
impl RefUnwindSafe for KeyValuePattern
impl Send for KeyValuePattern
impl Sync for KeyValuePattern
impl Unpin for KeyValuePattern
impl UnsafeUnpin for KeyValuePattern
impl UnwindSafe for KeyValuePattern
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