[−][src]Struct melib::backends::jmap::objects::email::import::ImportCall
#import
Objects of type Foo
are imported via a call to Foo/import
.
It takes the following arguments:
-
account_id
: "Id"The id of the account to use.
Fields
account_id: Id<Account>
accountId: "Id" The id of the account to use.
if_in_state: Option<State<EmailObject>>
ifInState: "String|null" This is a state string as returned by the "Email/get" method. If supplied, the string must match the current state of the account referenced by the accountId; otherwise, the method will be aborted and a "stateMismatch" error returned. If null, any changes will be applied to the current state.
emails: HashMap<Id<EmailObject>, EmailImport>
o emails: "IdEmailImport" A map of creation id (client specified) to EmailImport objects.
Implementations
impl ImportCall
[src]
pub fn new() -> Self
[src]
pub fn account_id(self, new_val: Id<Account>) -> Self
[src]
-
accountId: "Id"
The id of the account to use.
pub fn if_in_state(self, new_val: Option<State<EmailObject>>) -> Self
[src]
pub fn emails(self, new_val: HashMap<Id<EmailObject>, EmailImport>) -> Self
[src]
Trait Implementations
impl Debug for ImportCall
[src]
impl<'de> Deserialize<'de> for ImportCall
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Method<EmailObject> for ImportCall
[src]
impl Serialize for ImportCall
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImportCall
impl Send for ImportCall
impl Sync for ImportCall
impl Unpin for ImportCall
impl UnwindSafe for ImportCall
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,