Enum imap_proto::types::AttributeValue
[−]
[src]
pub enum AttributeValue<'a> {
BodySection {
section: Option<SectionPath>,
index: Option<u32>,
data: Option<&'a [u8]>,
},
Envelope(Envelope<'a>),
Flags(Vec<&'a str>),
InternalDate(&'a str),
ModSeq(u64),
Rfc822(Option<&'a [u8]>),
Rfc822Size(u32),
Uid(u32),
}Variants
BodySectionFields of BodySection
section: Option<SectionPath> | |
index: Option<u32> | |
data: Option<&'a [u8]> |
Envelope(Envelope<'a>)Flags(Vec<&'a str>)InternalDate(&'a str)ModSeq(u64)Rfc822(Option<&'a [u8]>)Rfc822Size(u32)Uid(u32)
Trait Implementations
impl<'a> Debug for AttributeValue<'a>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<'a> Eq for AttributeValue<'a>[src]
impl<'a> PartialEq for AttributeValue<'a>[src]
fn eq(&self, __arg_0: &AttributeValue<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AttributeValue<'a>) -> bool[src]
This method tests for !=.