[][src]Struct azure_functions::send_grid::Content

pub struct Content {
    pub mime_type: String,
    pub value: String,
}

Represents the content of an email message.

You can include multiple mime types of content, but you must specify at least one.

Fields

mime_type: String

The mime type of the content you are including in your email (e.g. "text/plain" or "text/html").

value: String

The actual content of the specified mime type for the email message.

Trait Implementations

impl Clone for Content[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Content[src]

impl Debug for Content[src]

impl Serialize for Content[src]

impl<'de> Deserialize<'de> for Content[src]

Auto Trait Implementations

impl Send for Content

impl Sync for Content

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T