Struct jmap_client::email_submission::EmailSubmission
source · [−]pub struct EmailSubmission<State = Get> { /* private fields */ }Implementations
sourceimpl EmailSubmission<Get>
impl EmailSubmission<Get>
pub fn id(&self) -> Option<&str>
pub fn take_id(&mut self) -> String
pub fn identity_id(&self) -> Option<&str>
pub fn email_id(&self) -> Option<&str>
pub fn thread_id(&self) -> Option<&str>
pub fn mail_from(&self) -> Option<&Address>
pub fn rcpt_to(&self) -> Option<&[Address]>
pub fn send_at(&self) -> Option<i64>
pub fn undo_status(&self) -> Option<&UndoStatus>
pub fn delivery_status_email(&self, email: &str) -> Option<&DeliveryStatus>
pub fn delivery_status(&self) -> Option<&AHashMap<String, DeliveryStatus>>
pub fn dsn_blob_ids(&self) -> Option<&[String]>
pub fn mdn_blob_ids(&self) -> Option<&[String]>
sourceimpl EmailSubmission<Set>
impl EmailSubmission<Set>
pub fn identity_id(&mut self, identity_id: impl Into<String>) -> &mut Self
pub fn email_id(&mut self, email_id: impl Into<String>) -> &mut Self
pub fn envelope<S, T, U>(&mut self, mail_from: S, rcpt_to: T) -> &mut Selfwhere
S: Into<Address>,
T: IntoIterator<Item = U>,
U: Into<Address>,
pub fn undo_status(&mut self, undo_status: UndoStatus) -> &mut Self
Trait Implementations
sourceimpl ChangesObject for EmailSubmission<Get>
impl ChangesObject for EmailSubmission<Get>
type ChangesResponse = ()
sourceimpl ChangesObject for EmailSubmission<Set>
impl ChangesObject for EmailSubmission<Set>
type ChangesResponse = ()
sourceimpl<State: Clone> Clone for EmailSubmission<State>
impl<State: Clone> Clone for EmailSubmission<State>
sourcefn clone(&self) -> EmailSubmission<State>
fn clone(&self) -> EmailSubmission<State>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<State: Debug> Debug for EmailSubmission<State>
impl<State: Debug> Debug for EmailSubmission<State>
sourceimpl<'de, State> Deserialize<'de> for EmailSubmission<State>
impl<'de, State> Deserialize<'de> for EmailSubmission<State>
sourcefn 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
sourceimpl GetObject for EmailSubmission<Get>
impl GetObject for EmailSubmission<Get>
type GetArguments = ()
sourceimpl GetObject for EmailSubmission<Set>
impl GetObject for EmailSubmission<Set>
type GetArguments = ()
sourceimpl Object for EmailSubmission<Get>
impl Object for EmailSubmission<Get>
type Property = Property
fn requires_account_id() -> bool
sourceimpl Object for EmailSubmission<Set>
impl Object for EmailSubmission<Set>
type Property = Property
fn requires_account_id() -> bool
sourceimpl QueryObject for EmailSubmission<Set>
impl QueryObject for EmailSubmission<Set>
sourceimpl<State> Serialize for EmailSubmission<State>
impl<State> Serialize for EmailSubmission<State>
sourceimpl SetObject for EmailSubmission<Get>
impl SetObject for EmailSubmission<Get>
type SetArguments = SetArguments
fn new(_create_id: Option<usize>) -> Self
fn create_id(&self) -> Option<String>
sourceimpl SetObject for EmailSubmission<Set>
impl SetObject for EmailSubmission<Set>
type SetArguments = SetArguments
fn new(_create_id: Option<usize>) -> Self
fn create_id(&self) -> Option<String>
Auto Trait Implementations
impl<State> RefUnwindSafe for EmailSubmission<State>where
State: RefUnwindSafe,
impl<State> Send for EmailSubmission<State>where
State: Send,
impl<State> Sync for EmailSubmission<State>where
State: Sync,
impl<State> Unpin for EmailSubmission<State>where
State: Unpin,
impl<State> UnwindSafe for EmailSubmission<State>where
State: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more