pub struct JmapPushSubscriptionSetOutput {
pub created: BTreeMap<String, JmapPushSubscription>,
pub updated: BTreeMap<String, Option<JmapPushSubscription>>,
pub destroyed: Vec<String>,
pub not_created: BTreeMap<String, JmapSetError>,
pub not_updated: BTreeMap<String, JmapSetError>,
pub not_destroyed: BTreeMap<String, JmapSetError>,
pub keep_alive: bool,
}Expand description
Successful terminal output of JmapPushSubscriptionSet.
No state strings: PushSubscription/set returns no oldState/newState
(RFC 8620 §7.2.2).
Fields§
§created: BTreeMap<String, JmapPushSubscription>The created subscriptions, keyed by client id.
updated: BTreeMap<String, Option<JmapPushSubscription>>The updated subscriptions, keyed by id.
destroyed: Vec<String>Ids of the destroyed objects.
not_created: BTreeMap<String, JmapSetError>The failed creates, keyed by client id.
not_updated: BTreeMap<String, JmapSetError>The failed updates, keyed by id.
not_destroyed: BTreeMap<String, JmapSetError>The failed destroys, keyed by id.
keep_alive: boolWhether the server indicated the connection can be reused.
Trait Implementations§
Source§impl Clone for JmapPushSubscriptionSetOutput
impl Clone for JmapPushSubscriptionSetOutput
Source§fn clone(&self) -> JmapPushSubscriptionSetOutput
fn clone(&self) -> JmapPushSubscriptionSetOutput
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 JmapPushSubscriptionSetOutput
impl RefUnwindSafe for JmapPushSubscriptionSetOutput
impl Send for JmapPushSubscriptionSetOutput
impl Sync for JmapPushSubscriptionSetOutput
impl Unpin for JmapPushSubscriptionSetOutput
impl UnsafeUnpin for JmapPushSubscriptionSetOutput
impl UnwindSafe for JmapPushSubscriptionSetOutput
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