pub enum CsvElementType {
SourceFile,
Record,
Field,
}Expand description
CSV element type
Variants§
Trait Implementations§
Source§impl Clone for CsvElementType
impl Clone for CsvElementType
Source§fn clone(&self) -> CsvElementType
fn clone(&self) -> CsvElementType
Returns a duplicate of the value. Read more
1.0.0 · 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 CsvElementType
impl Debug for CsvElementType
Source§impl<'de> Deserialize<'de> for CsvElementType
impl<'de> Deserialize<'de> for CsvElementType
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
Source§impl ElementType for CsvElementType
impl ElementType for CsvElementType
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl From<CsvTokenType> for CsvElementType
impl From<CsvTokenType> for CsvElementType
Source§fn from(token: CsvTokenType) -> Self
fn from(token: CsvTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for CsvElementType
impl Hash for CsvElementType
Source§impl Ord for CsvElementType
impl Ord for CsvElementType
Source§fn cmp(&self, other: &CsvElementType) -> Ordering
fn cmp(&self, other: &CsvElementType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CsvElementType
impl PartialEq for CsvElementType
Source§impl PartialOrd for CsvElementType
impl PartialOrd for CsvElementType
Source§impl Serialize for CsvElementType
impl Serialize for CsvElementType
impl Copy for CsvElementType
impl Eq for CsvElementType
impl StructuralPartialEq for CsvElementType
Auto Trait Implementations§
impl Freeze for CsvElementType
impl RefUnwindSafe for CsvElementType
impl Send for CsvElementType
impl Sync for CsvElementType
impl Unpin for CsvElementType
impl UnwindSafe for CsvElementType
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