pub enum DataFormat {
utf8,
base64,
}
Variants§
Trait Implementations§
Source§impl Clone for DataFormat
impl Clone for DataFormat
Source§fn clone(&self) -> DataFormat
fn clone(&self) -> DataFormat
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 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 Enum for DataFormat
impl Enum for DataFormat
Source§impl FromStr for DataFormat
impl FromStr for DataFormat
Source§impl Hash for DataFormat
impl Hash for DataFormat
Source§impl Ord for DataFormat
impl Ord for DataFormat
Source§fn cmp(&self, other: &DataFormat) -> Ordering
fn cmp(&self, other: &DataFormat) -> 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 DataFormat
impl PartialEq for DataFormat
Source§impl PartialOrd for DataFormat
impl PartialOrd for DataFormat
Source§impl Serialize for DataFormat
impl Serialize for DataFormat
impl Copy for DataFormat
impl Eq for DataFormat
impl StructuralPartialEq for DataFormat
Auto Trait Implementations§
impl Freeze for DataFormat
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