pub struct NewMail {
pub body: String,
pub recipients: Vec<MailRecipient>,
pub subject: String,
pub approved_cost: Option<i64>,
}Expand description
The body of a request to send a new mail.
Fields§
§body: StringBody of the mail.
recipients: Vec<MailRecipient>Recipients of the mail.
subject: StringSubject of the mail.
approved_cost: Option<i64>Maximum CSPA charge (in ISK) the sender accepts to pay.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewMail
impl RefUnwindSafe for NewMail
impl Send for NewMail
impl Sync for NewMail
impl Unpin for NewMail
impl UnsafeUnpin for NewMail
impl UnwindSafe for NewMail
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