Enum imap_proto::types::BodyExtension
source · pub enum BodyExtension<'a> {
Num(u32),
Str(Option<Cow<'a, str>>),
List(Vec<BodyExtension<'a>>),
}
Variants§
Implementations§
source§impl<'a> BodyExtension<'a>
impl<'a> BodyExtension<'a>
pub fn into_owned(self) -> BodyExtension<'static>
Trait Implementations§
source§impl<'a> Debug for BodyExtension<'a>
impl<'a> Debug for BodyExtension<'a>
source§impl<'a> PartialEq for BodyExtension<'a>
impl<'a> PartialEq 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> StructuralPartialEq for BodyExtension<'a>
Auto Trait Implementations§
impl<'a> Freeze for BodyExtension<'a>
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