pub struct JmapEmailImportArgs {
pub blob_id: String,
pub mailbox_ids: BTreeMap<String, bool>,
pub keywords: Option<BTreeMap<String, bool>>,
pub received_at: Option<String>,
}Expand description
Arguments for importing a single RFC 5322 message via Email/import.
Fields§
§blob_id: StringBlob ID of the RFC 5322 message.
mailbox_ids: BTreeMap<String, bool>{ mailbox-id -> true } for destination mailboxes.
keywords: Option<BTreeMap<String, bool>>{ keyword -> true } to set on the imported email.
received_at: Option<String>RFC 3339 override for receivedAt.
Trait Implementations§
Source§impl Clone for JmapEmailImportArgs
impl Clone for JmapEmailImportArgs
Source§fn clone(&self) -> JmapEmailImportArgs
fn clone(&self) -> JmapEmailImportArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JmapEmailImportArgs
impl Debug for JmapEmailImportArgs
Auto Trait Implementations§
impl Freeze for JmapEmailImportArgs
impl RefUnwindSafe for JmapEmailImportArgs
impl Send for JmapEmailImportArgs
impl Sync for JmapEmailImportArgs
impl Unpin for JmapEmailImportArgs
impl UnsafeUnpin for JmapEmailImportArgs
impl UnwindSafe for JmapEmailImportArgs
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