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§
source§impl<'a> BodyContentCommon<'a>
impl<'a> BodyContentCommon<'a>
pub fn into_owned(self) -> BodyContentCommon<'static>
Trait Implementations§
source§impl<'a> Debug for BodyContentCommon<'a>
impl<'a> Debug for BodyContentCommon<'a>
source§impl<'a> PartialEq for BodyContentCommon<'a>
impl<'a> PartialEq for BodyContentCommon<'a>
source§fn 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 ==
.impl<'a> Eq for BodyContentCommon<'a>
impl<'a> StructuralPartialEq for BodyContentCommon<'a>
Auto Trait Implementations§
impl<'a> Freeze for BodyContentCommon<'a>
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§
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