Enum sieve::compiler::ContentTypePart
source · pub enum ContentTypePart {
Type,
Subtype,
Attribute(String),
}
Variants§
Trait Implementations§
source§impl Clone for ContentTypePart
impl Clone for ContentTypePart
source§fn clone(&self) -> ContentTypePart
fn clone(&self) -> ContentTypePart
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 ContentTypePart
impl Debug for ContentTypePart
source§impl<'de> Deserialize<'de> for ContentTypePart
impl<'de> Deserialize<'de> for ContentTypePart
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 PartialEq for ContentTypePart
impl PartialEq for ContentTypePart
source§fn eq(&self, other: &ContentTypePart) -> bool
fn eq(&self, other: &ContentTypePart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ContentTypePart
impl Serialize for ContentTypePart
impl Eq for ContentTypePart
impl StructuralPartialEq for ContentTypePart
Auto Trait Implementations§
impl Freeze for ContentTypePart
impl RefUnwindSafe for ContentTypePart
impl Send for ContentTypePart
impl Sync for ContentTypePart
impl Unpin for ContentTypePart
impl UnwindSafe for ContentTypePart
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