Struct imap_proto::types::BodyContentCommon
source · [−]pub struct BodyContentCommon<'a> {
pub ty: ContentType<'a>,
pub disposition: Option<ContentDisposition<'a>>,
pub language: Option<Vec<Cow<'a, str>>>,
pub location: Option<Cow<'a, str>>,
}Fields
ty: ContentType<'a>disposition: Option<ContentDisposition<'a>>language: Option<Vec<Cow<'a, str>>>location: Option<Cow<'a, str>>Implementations
sourceimpl<'a> BodyContentCommon<'a>
impl<'a> BodyContentCommon<'a>
pub fn into_owned(self) -> BodyContentCommon<'static>
Trait Implementations
sourceimpl<'a> Debug for BodyContentCommon<'a>
impl<'a> Debug for BodyContentCommon<'a>
sourceimpl<'a> PartialEq<BodyContentCommon<'a>> for BodyContentCommon<'a>
impl<'a> PartialEq<BodyContentCommon<'a>> for BodyContentCommon<'a>
sourcefn eq(&self, other: &BodyContentCommon<'a>) -> bool
fn eq(&self, other: &BodyContentCommon<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &BodyContentCommon<'a>) -> bool
fn ne(&self, other: &BodyContentCommon<'a>) -> bool
This method tests for !=.
impl<'a> Eq for BodyContentCommon<'a>
impl<'a> StructuralEq for BodyContentCommon<'a>
impl<'a> StructuralPartialEq for BodyContentCommon<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BodyContentCommon<'a>
impl<'a> Send for BodyContentCommon<'a>
impl<'a> Sync for BodyContentCommon<'a>
impl<'a> Unpin for BodyContentCommon<'a>
impl<'a> UnwindSafe for BodyContentCommon<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more