pub enum Delimiter {
Comma,
Tab,
Pipe,
}Expand description
Delimiter character used to separate array elements.
Variants§
Implementations§
Source§impl Delimiter
impl Delimiter
Sourcepub fn as_metadata_str(&self) -> &'static str
pub fn as_metadata_str(&self) -> &'static str
Get the string representation for metadata (empty for comma, char for others).
Sourcepub fn contains_in(&self, s: &str) -> bool
pub fn contains_in(&self, s: &str) -> bool
Check if the delimiter character appears in the string.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Delimiter
impl<'de> Deserialize<'de> for Delimiter
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 Copy for Delimiter
impl Eq for Delimiter
impl StructuralPartialEq for Delimiter
Auto Trait Implementations§
impl Freeze for Delimiter
impl RefUnwindSafe for Delimiter
impl Send for Delimiter
impl Sync for Delimiter
impl Unpin for Delimiter
impl UnwindSafe for Delimiter
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.