pub struct Draft {
pub id: String,
pub message_id: String,
pub thread_id: Option<String>,
pub to: Option<Vec<String>>,
pub cc: Option<Vec<String>>,
pub bcc: Option<Vec<String>>,
pub subject: Option<String>,
pub body: Option<String>,
pub html: bool,
pub attachments: Option<Vec<AttachmentMeta>>,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
}Fields§
§id: String§message_id: String§thread_id: Option<String>§to: Option<Vec<String>>§cc: Option<Vec<String>>§bcc: Option<Vec<String>>§subject: Option<String>§body: Option<String>§html: bool§attachments: Option<Vec<AttachmentMeta>>§created_at: DateTime<FixedOffset>§updated_at: DateTime<FixedOffset>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Draft
impl<'de> Deserialize<'de> for Draft
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
impl StructuralPartialEq for Draft
Auto Trait Implementations§
impl Freeze for Draft
impl RefUnwindSafe for Draft
impl Send for Draft
impl Sync for Draft
impl Unpin for Draft
impl UnsafeUnpin for Draft
impl UnwindSafe for Draft
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more