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