pub struct JmapEmailSetOutput {
pub new_state: String,
pub created: BTreeMap<String, JmapEmail>,
pub updated: BTreeMap<String, Option<JmapEmail>>,
pub destroyed: Vec<String>,
pub not_created: BTreeMap<String, JmapEmailSetItemError>,
pub not_updated: BTreeMap<String, JmapEmailSetItemError>,
pub not_destroyed: BTreeMap<String, JmapEmailSetItemError>,
pub keep_alive: bool,
}Expand description
Successful terminal output of JmapEmailSet.
Fields§
§new_state: StringThe new server state after the call.
created: BTreeMap<String, JmapEmail>The created emails, keyed by client id.
updated: BTreeMap<String, Option<JmapEmail>>The updated emails, keyed by id.
destroyed: Vec<String>Ids of the destroyed objects.
not_created: BTreeMap<String, JmapEmailSetItemError>The failed creates, keyed by client id.
not_updated: BTreeMap<String, JmapEmailSetItemError>The failed updates, keyed by id.
not_destroyed: BTreeMap<String, JmapEmailSetItemError>The failed destroys, keyed by id.
keep_alive: boolWhether the server indicated the connection can be reused.
Trait Implementations§
Source§impl Clone for JmapEmailSetOutput
impl Clone for JmapEmailSetOutput
Source§fn clone(&self) -> JmapEmailSetOutput
fn clone(&self) -> JmapEmailSetOutput
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 moreAuto Trait Implementations§
impl Freeze for JmapEmailSetOutput
impl RefUnwindSafe for JmapEmailSetOutput
impl Send for JmapEmailSetOutput
impl Sync for JmapEmailSetOutput
impl Unpin for JmapEmailSetOutput
impl UnsafeUnpin for JmapEmailSetOutput
impl UnwindSafe for JmapEmailSetOutput
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