pub struct SendParams {
pub to: Vec<String>,
pub subject: String,
pub body: String,
pub from: Option<String>,
pub reply_to_id: Option<String>,
}Expand description
Arguments for mail_send and mail_create_draft.
Fields§
§to: Vec<String>Recipients.
subject: StringSubject.
body: StringBody as text.
from: Option<String>From address when it is not the signed-in Apple ID.
reply_to_id: Option<String>Opaque id of the message this one replies to.
Trait Implementations§
Source§impl Debug for SendParams
impl Debug for SendParams
Source§impl Default for SendParams
impl Default for SendParams
Source§impl<'de> Deserialize<'de> for SendParams
impl<'de> Deserialize<'de> for SendParams
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 JsonSchema for SendParams
impl JsonSchema for SendParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for SendParams
impl Freeze for SendParams
impl Move for SendParams
impl RefUnwindSafe for SendParams
impl Send for SendParamswhere
RawVecInner: Send,
impl Sync for SendParamswhere
RawVecInner: Sync,
impl Unpin for SendParams
impl UnsafeUnpin for SendParamswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for SendParamswhere
RawVecInner: UnwindSafe,
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