Struct sendgrid_api::types::Attachments [−][src]
pub struct Attachments {
pub content: String,
pub content_id: String,
pub disposition: Option<Disposition>,
pub filename: String,
pub type_: String,
}Fields
content: StringThe license key provided with your New Relic account.
content_id: StringThe license key provided with your New Relic account.
disposition: Option<Disposition>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.
filename: StringThe license key provided with your New Relic account.
type_: StringThe license key provided with your New Relic account.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Attachments
impl Send for Attachments
impl Sync for Attachments
impl Unpin for Attachments
impl UnwindSafe for Attachments
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more