pub struct JmapSetOutput<T> {
pub new_state: String,
pub created: BTreeMap<String, T>,
pub updated: BTreeMap<String, Option<T>>,
pub destroyed: Vec<String>,
pub not_created: BTreeMap<String, Value>,
pub not_updated: BTreeMap<String, Value>,
pub not_destroyed: BTreeMap<String, Value>,
pub keep_alive: bool,
}Expand description
Successful terminal output of the JmapSet coroutine.
Fields§
§new_state: StringThe new server state after the call.
created: BTreeMap<String, T>The created objects, keyed by client id.
updated: BTreeMap<String, Option<T>>The updated objects, keyed by id; the value carries the changed properties when the server echoes them back.
destroyed: Vec<String>Ids of the destroyed objects.
not_created: BTreeMap<String, Value>The failed creates, keyed by client id.
not_updated: BTreeMap<String, Value>The failed updates, keyed by id.
not_destroyed: BTreeMap<String, Value>The failed destroys, keyed by id.
keep_alive: boolWhether the server indicated the connection can be reused.
Trait Implementations§
Source§impl<T: Clone> Clone for JmapSetOutput<T>
impl<T: Clone> Clone for JmapSetOutput<T>
Source§fn clone(&self) -> JmapSetOutput<T>
fn clone(&self) -> JmapSetOutput<T>
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<T> Freeze for JmapSetOutput<T>
impl<T> RefUnwindSafe for JmapSetOutput<T>where
T: RefUnwindSafe,
impl<T> Send for JmapSetOutput<T>where
T: Send,
impl<T> Sync for JmapSetOutput<T>where
T: Sync,
impl<T> Unpin for JmapSetOutput<T>
impl<T> UnsafeUnpin for JmapSetOutput<T>
impl<T> UnwindSafe for JmapSetOutput<T>where
T: RefUnwindSafe,
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