[][src]Struct mail_headers::headers::ContentDisposition

pub struct ContentDisposition;

Defines the disposition of a multipart part it is used on (rfc2183)

This is meant to be used as a header for a multipart body part, which was created from a resource, mainly a file.

Examples are attachments like images, etc.

Possible Dispositions are:

Additional it is used to provide following information as parameters:

Trait Implementations

impl Clone for ContentDisposition[src]

impl Copy for ContentDisposition[src]

impl Default for ContentDisposition[src]

impl HeaderKind for ContentDisposition[src]

type Component = Disposition

the component representing the header-field, e.g. Unstructured for Subject

impl MaxOneMarker for ContentDisposition[src]

Auto Trait Implementations

impl RefUnwindSafe for ContentDisposition

impl Send for ContentDisposition

impl Sync for ContentDisposition

impl Unpin for ContentDisposition

impl UnwindSafe for ContentDisposition

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.