Struct imap_proto::types::BodyFields
source · [−]pub struct BodyFields<'a> {
pub param: BodyParams<'a>,
pub id: Option<Cow<'a, str>>,
pub description: Option<Cow<'a, str>>,
pub transfer_encoding: ContentEncoding<'a>,
pub octets: u32,
}Fields
param: BodyParams<'a>id: Option<Cow<'a, str>>description: Option<Cow<'a, str>>transfer_encoding: ContentEncoding<'a>octets: u32Implementations
sourceimpl<'a> BodyFields<'a>
impl<'a> BodyFields<'a>
pub fn into_owned(self) -> BodyFields<'static>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BodyFields<'a>
impl<'a> Send for BodyFields<'a>
impl<'a> Sync for BodyFields<'a>
impl<'a> Unpin for BodyFields<'a>
impl<'a> UnwindSafe for BodyFields<'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