Struct imap_proto::types::BodyContentSinglePart
source · pub struct BodyContentSinglePart<'a> {
pub id: Option<Cow<'a, str>>,
pub md5: Option<Cow<'a, str>>,
pub description: Option<Cow<'a, str>>,
pub transfer_encoding: ContentEncoding<'a>,
pub octets: u32,
}Fields§
§id: Option<Cow<'a, str>>§md5: Option<Cow<'a, str>>§description: Option<Cow<'a, str>>§transfer_encoding: ContentEncoding<'a>§octets: u32Implementations§
source§impl<'a> BodyContentSinglePart<'a>
impl<'a> BodyContentSinglePart<'a>
pub fn into_owned(self) -> BodyContentSinglePart<'static>
Trait Implementations§
source§impl<'a> Debug for BodyContentSinglePart<'a>
impl<'a> Debug for BodyContentSinglePart<'a>
source§impl<'a> PartialEq for BodyContentSinglePart<'a>
impl<'a> PartialEq for BodyContentSinglePart<'a>
source§fn eq(&self, other: &BodyContentSinglePart<'a>) -> bool
fn eq(&self, other: &BodyContentSinglePart<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for BodyContentSinglePart<'a>
impl<'a> StructuralPartialEq for BodyContentSinglePart<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BodyContentSinglePart<'a>
impl<'a> Send for BodyContentSinglePart<'a>
impl<'a> Sync for BodyContentSinglePart<'a>
impl<'a> Unpin for BodyContentSinglePart<'a>
impl<'a> UnwindSafe for BodyContentSinglePart<'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