[−][src]Struct mail_headers::headers::ContentDescription
A description of the content of the body (rfc2045)
This is mainly usefull for multipart body parts, e.g. to add an description to a inlined/attached image.
Trait Implementations
impl HeaderKind for ContentDescription
[src]
type Component = Unstructured
the component representing the header-field, e.g. Unstructured
for Subject
fn name() -> HeaderName
[src]
const MAX_ONE: bool
[src]
const VALIDATOR: Option<HeaderMapValidator>
[src]
fn auto_body<H>(body: H) -> Result<Header<Self>, ComponentCreationError> where
H: HeaderTryInto<Self::Component>,
[src]
H: HeaderTryInto<Self::Component>,
Creates a Header
instance automatically converting given body to the right type. Read more
fn body(body: Self::Component) -> Header<Self>
[src]
Creates a Header
instance for this header kind with given body.
impl MaxOneMarker for ContentDescription
[src]
impl Default for ContentDescription
[src]
fn default() -> ContentDescription
[src]
impl Copy for ContentDescription
[src]
impl Clone for ContentDescription
[src]
fn clone(&self) -> ContentDescription
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ContentDescription
impl Sync for ContentDescription
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.