Struct imap_proto::types::ContentDisposition
source · [−]pub struct ContentDisposition<'a> {
pub ty: Cow<'a, str>,
pub params: BodyParams<'a>,
}Fields
ty: Cow<'a, str>params: BodyParams<'a>Implementations
sourceimpl<'a> ContentDisposition<'a>
impl<'a> ContentDisposition<'a>
pub fn into_owned(self) -> ContentDisposition<'static>
Trait Implementations
sourceimpl<'a> Debug for ContentDisposition<'a>
impl<'a> Debug for ContentDisposition<'a>
sourceimpl<'a> PartialEq<ContentDisposition<'a>> for ContentDisposition<'a>
impl<'a> PartialEq<ContentDisposition<'a>> for ContentDisposition<'a>
sourcefn eq(&self, other: &ContentDisposition<'a>) -> bool
fn eq(&self, other: &ContentDisposition<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ContentDisposition<'a>) -> bool
fn ne(&self, other: &ContentDisposition<'a>) -> bool
This method tests for !=.
impl<'a> Eq for ContentDisposition<'a>
impl<'a> StructuralEq for ContentDisposition<'a>
impl<'a> StructuralPartialEq for ContentDisposition<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ContentDisposition<'a>
impl<'a> Send for ContentDisposition<'a>
impl<'a> Sync for ContentDisposition<'a>
impl<'a> Unpin for ContentDisposition<'a>
impl<'a> UnwindSafe for ContentDisposition<'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