Struct azure_devops_rust_api::release::models::MailMessage
source · pub struct MailMessage {
pub body: Option<String>,
pub cc: Option<EmailRecipients>,
pub in_reply_to: Option<String>,
pub message_id: Option<String>,
pub reply_by: Option<OffsetDateTime>,
pub reply_to: Option<EmailRecipients>,
pub sections: Vec<Value>,
pub sender_type: Option<SenderType>,
pub subject: Option<String>,
pub to: Option<EmailRecipients>,
}Expand description
Fields§
§body: Option<String>Body of mail.
cc: Option<EmailRecipients>§in_reply_to: Option<String>Reply to.
message_id: Option<String>Message ID of the mail.
reply_by: Option<OffsetDateTime>Data when should be replied to mail.
reply_to: Option<EmailRecipients>§sections: Vec<Value>List of mail section types.
sender_type: Option<SenderType>Mail sender type.
subject: Option<String>Subject of the mail.
to: Option<EmailRecipients>Implementations§
source§impl MailMessage
impl MailMessage
Trait Implementations§
source§impl Clone for MailMessage
impl Clone for MailMessage
source§fn clone(&self) -> MailMessage
fn clone(&self) -> MailMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MailMessage
impl Debug for MailMessage
source§impl Default for MailMessage
impl Default for MailMessage
source§fn default() -> MailMessage
fn default() -> MailMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MailMessage
impl<'de> Deserialize<'de> for MailMessage
source§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
source§impl PartialEq<MailMessage> for MailMessage
impl PartialEq<MailMessage> for MailMessage
source§fn eq(&self, other: &MailMessage) -> bool
fn eq(&self, other: &MailMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.