Enum rain_metadata::ContentEncoding
source · pub enum ContentEncoding {
None,
Identity,
Deflate,
}Expand description
Content encoding of a cbor meta map
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ContentEncoding
impl Clone for ContentEncoding
source§fn clone(&self) -> ContentEncoding
fn clone(&self) -> ContentEncoding
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 ContentEncoding
impl Debug for ContentEncoding
source§impl<'de> Deserialize<'de> for ContentEncoding
impl<'de> Deserialize<'de> for ContentEncoding
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 ContentEncoding
impl Display for ContentEncoding
source§impl FromStr for ContentEncoding
impl FromStr for ContentEncoding
source§impl IntoEnumIterator for ContentEncoding
impl IntoEnumIterator for ContentEncoding
type Iterator = ContentEncodingIter
fn iter() -> ContentEncodingIter ⓘ
source§impl PartialEq for ContentEncoding
impl PartialEq for ContentEncoding
source§fn eq(&self, other: &ContentEncoding) -> bool
fn eq(&self, other: &ContentEncoding) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ContentEncoding
impl Serialize for ContentEncoding
source§impl TryFrom<&str> for ContentEncoding
impl TryFrom<&str> for ContentEncoding
impl Copy for ContentEncoding
impl StructuralPartialEq for ContentEncoding
Auto Trait Implementations§
impl RefUnwindSafe for ContentEncoding
impl Send for ContentEncoding
impl Sync for ContentEncoding
impl Unpin for ContentEncoding
impl UnwindSafe for ContentEncoding
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