Struct imap_types::response::data::Disposition
source · pub struct Disposition<'a> {
pub disposition: Option<(IString<'a>, Vec<(IString<'a>, IString<'a>)>)>,
pub tail: Option<Language<'a>>,
}Fields§
§disposition: Option<(IString<'a>, Vec<(IString<'a>, IString<'a>)>)>A parenthesized list, consisting of a disposition type string, followed by a parenthesized list of disposition attribute/value pairs as defined in [DISPOSITION].
tail: Option<Language<'a>>(Optional) additional data.
Trait Implementations§
source§impl<'a> Clone for Disposition<'a>
impl<'a> Clone for Disposition<'a>
source§fn clone(&self) -> Disposition<'a>
fn clone(&self) -> Disposition<'a>
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<'a> Debug for Disposition<'a>
impl<'a> Debug for Disposition<'a>
source§impl<'a> Hash for Disposition<'a>
impl<'a> Hash for Disposition<'a>
source§impl<'a> PartialEq<Disposition<'a>> for Disposition<'a>
impl<'a> PartialEq<Disposition<'a>> for Disposition<'a>
source§fn eq(&self, other: &Disposition<'a>) -> bool
fn eq(&self, other: &Disposition<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for Disposition<'a>
impl<'a> StructuralEq for Disposition<'a>
impl<'a> StructuralPartialEq for Disposition<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Disposition<'a>
impl<'a> Send for Disposition<'a>
impl<'a> Sync for Disposition<'a>
impl<'a> Unpin for Disposition<'a>
impl<'a> UnwindSafe for Disposition<'a>
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