Enum imap_types::response::data::BodyExtension
source · pub enum BodyExtension<'a> {
NString(NString<'a>),
Number(u32),
List(NonEmptyVec<BodyExtension<'a>>),
}Variants§
Trait Implementations§
source§impl<'a> Clone for BodyExtension<'a>
impl<'a> Clone for BodyExtension<'a>
source§fn clone(&self) -> BodyExtension<'a>
fn clone(&self) -> BodyExtension<'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 BodyExtension<'a>
impl<'a> Debug for BodyExtension<'a>
source§impl<'a> Hash for BodyExtension<'a>
impl<'a> Hash for BodyExtension<'a>
source§impl<'a> PartialEq<BodyExtension<'a>> for BodyExtension<'a>
impl<'a> PartialEq<BodyExtension<'a>> for BodyExtension<'a>
source§fn eq(&self, other: &BodyExtension<'a>) -> bool
fn eq(&self, other: &BodyExtension<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for BodyExtension<'a>
impl<'a> StructuralEq for BodyExtension<'a>
impl<'a> StructuralPartialEq for BodyExtension<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BodyExtension<'a>
impl<'a> Send for BodyExtension<'a>
impl<'a> Sync for BodyExtension<'a>
impl<'a> Unpin for BodyExtension<'a>
impl<'a> UnwindSafe for BodyExtension<'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