Enum mailparse::DispositionType [−][src]
The possible disposition types in a Content-Disposition header. A more
comprehensive list of IANA-recognized types can be found at
https://www.iana.org/assignments/cont-disp/cont-disp.xhtml. This library
only enumerates the types most commonly found in email messages, and
provides the Extension value for holding all other types.
Variants
Default value, indicating the content is to be displayed inline as part of the enclosing document.
A disposition indicating the content is not meant for inline display, but whose content can be accessed for use.
A disposition indicating the content contains a form submission.
Extension(String)Extension type to hold any disposition not explicitly enumerated.
Trait Implementations
impl Clone for DispositionType[src]
fn clone(&self) -> DispositionType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DispositionType[src]
impl Default for DispositionType[src]
impl PartialEq<DispositionType> for DispositionType[src]
fn eq(&self, other: &DispositionType) -> bool[src]
fn ne(&self, other: &DispositionType) -> bool[src]
impl StructuralPartialEq for DispositionType[src]
Auto Trait Implementations
impl RefUnwindSafe for DispositionType[src]
impl Send for DispositionType[src]
impl Sync for DispositionType[src]
impl Unpin for DispositionType[src]
impl UnwindSafe for DispositionType[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,