Enum stam::DataFormat
source · pub enum DataFormat {
Json {
compact: bool,
},
Csv,
}Variants§
Trait Implementations§
source§impl Clone for DataFormat
impl Clone for DataFormat
source§fn clone(&self) -> DataFormat
fn clone(&self) -> DataFormat
Returns a copy 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 DataFormat
impl Debug for DataFormat
source§impl<'de> Deserialize<'de> for DataFormat
impl<'de> Deserialize<'de> for DataFormat
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 Display for DataFormat
impl Display for DataFormat
source§impl PartialEq<DataFormat> for DataFormat
impl PartialEq<DataFormat> for DataFormat
source§fn eq(&self, other: &DataFormat) -> bool
fn eq(&self, other: &DataFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DataFormat
impl Serialize for DataFormat
source§impl TryFrom<&str> for DataFormat
impl TryFrom<&str> for DataFormat
impl Copy for DataFormat
impl StructuralPartialEq for DataFormat
Auto Trait Implementations§
impl RefUnwindSafe for DataFormat
impl Send for DataFormat
impl Sync for DataFormat
impl Unpin for DataFormat
impl UnwindSafe for DataFormat
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