Enum sieve::compiler::HeaderPart
source · pub enum HeaderPart {
Text,
Date,
Id,
Address(AddressPart),
ContentType(ContentTypePart),
Received(ReceivedPart),
Raw,
RawName,
Exists,
}
Variants§
Text
Date
Id
Address(AddressPart)
ContentType(ContentTypePart)
Received(ReceivedPart)
Raw
RawName
Exists
Trait Implementations§
source§impl Clone for HeaderPart
impl Clone for HeaderPart
source§fn clone(&self) -> HeaderPart
fn clone(&self) -> HeaderPart
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 HeaderPart
impl Debug for HeaderPart
source§impl<'de> Deserialize<'de> for HeaderPart
impl<'de> Deserialize<'de> for HeaderPart
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 HeaderPart
impl PartialEq for HeaderPart
source§fn eq(&self, other: &HeaderPart) -> bool
fn eq(&self, other: &HeaderPart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HeaderPart
impl Serialize for HeaderPart
source§impl TryFrom<&str> for HeaderPart
impl TryFrom<&str> for HeaderPart
impl Eq for HeaderPart
impl StructuralPartialEq for HeaderPart
Auto Trait Implementations§
impl Freeze for HeaderPart
impl RefUnwindSafe for HeaderPart
impl Send for HeaderPart
impl Sync for HeaderPart
impl Unpin for HeaderPart
impl UnwindSafe for HeaderPart
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