pub struct Draft {
pub to: Vec<String>,
pub subject: String,
pub body: String,
pub from: Option<String>,
pub reply_to: Option<MessageId>,
}Expand description
A draft or a message to send.
Fields§
§to: Vec<String>Recipients.
subject: StringSubject.
body: StringBody as text.
from: Option<String>From when it is not the account’s Apple ID. A custom domain is allowed.
reply_to: Option<MessageId>Message this draft replies to.
Trait Implementations§
impl Eq for Draft
impl StructuralPartialEq for Draft
Auto Trait Implementations§
impl Forget for Draft
impl Freeze for Draft
impl Move for Draft
impl RefUnwindSafe for Draft
impl Send for Draft
impl Sync for Draft
impl Unpin for Draft
impl UnsafeUnpin for Draftwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
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