[−][src]Struct melib::backends::jmap::objects::EmailImport
Fields
blob_id: Id<BlobObject>
o blobId: "Id" The id of the blob containing the raw message [RFC5322].
mailbox_ids: HashMap<Id<MailboxObject>, bool>
o mailboxIds: "Id[Boolean]" The ids of the Mailboxes to assign this Email to. At least one Mailbox MUST be given.
keywords: HashMap<String, bool>
o keywords: "String[Boolean]" (default: {}) The keywords to apply to the Email.
received_at: Option<String>
o receivedAt: "UTCDate" (default: time of most recent Received header, or time of import on server if none) The "receivedAt" date to set on the Email.
Implementations
impl EmailImport
[src]
pub fn new() -> Self
[src]
pub fn blob_id(self, new_val: Id<BlobObject>) -> Self
[src]
pub fn mailbox_ids(self, new_val: HashMap<Id<MailboxObject>, bool>) -> Self
[src]
pub fn keywords(self, new_val: HashMap<String, bool>) -> Self
[src]
pub fn received_at(self, new_val: Option<String>) -> Self
[src]
Trait Implementations
impl Debug for EmailImport
[src]
impl<'de> Deserialize<'de> for EmailImport
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for EmailImport
[src]
Auto Trait Implementations
impl RefUnwindSafe for EmailImport
impl Send for EmailImport
impl Sync for EmailImport
impl Unpin for EmailImport
impl UnwindSafe for EmailImport
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>,