Enum sendgrid_api::types::Disposition [−][src]
pub enum Disposition { Attachment, Inline, FallthroughString, }
Expand description
The attachment’s content-disposition, specifying how you would like the attachment to be displayed. For example, “inline”
results in the attached file are displayed automatically within the message while “attachment”
results in the attached file require some action to be taken before it is displayed, such as opening or downloading the file.
Variants
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Disposition
impl Send for Disposition
impl Sync for Disposition
impl Unpin for Disposition
impl UnwindSafe for Disposition
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more