[−][src]Struct melib::backends::jmap::rfc8620::SetResponse
Fields
account_id: Id<Account>
o accountId: "Id"
The id of the account used for the call.
old_state: State<OBJ>
o oldState: "String|null"
The state string that would have been returned by "Foo/get" before making the requested changes, or null if the server doesn't know what the previous state string was.
new_state: State<OBJ>
o newState: "String"
The state string that will now be returned by "Foo/get".
created: Option<HashMap<Id<OBJ>, OBJ>>
o created: "Id[Foo]|null"
A map of the creation id to an object containing any properties of the created Foo object that were not sent by the client. This includes all server-set properties (such as the "id" in most object types) and any properties that were omitted by the client and thus set to a default by the server.
This argument is null if no Foo objects were successfully created.
updated: Option<HashMap<Id<OBJ>, Option<OBJ>>>
o updated: "Id[Foo|null]|null"
The keys in this map are the ids of all Foos that were successfully updated.
The value for each id is a Foo object containing any property that changed in a way not explicitly requested by the PatchObject sent to the server, or null if none. This lets the client know of any changes to server-set or computed properties.
This argument is null if no Foo objects were successfully updated.
destroyed: Option<Vec<Id<OBJ>>>
o destroyed: "Id[]|null"
A list of Foo ids for records that were successfully destroyed, or null if none.
not_created: Option<Vec<SetError>>
o notCreated: "IdSetError|null"
A map of the creation id to a SetError object for each record that failed to be created, or null if all successful.
not_updated: Option<Vec<SetError>>
o notUpdated: "IdSetError|null"
A map of the Foo id to a SetError object for each record that failed to be updated, or null if all successful.
not_destroyed: Option<Vec<SetError>>
o notDestroyed: "IdSetError|null"
A map of the Foo id to a SetError object for each record that failed to be destroyed, or null if all successful.//
Trait Implementations
impl<OBJ: Debug + Object> Debug for SetResponse<OBJ>
[src]
impl<'de, OBJ: Object> Deserialize<'de> for SetResponse<OBJ> where
OBJ: Deserialize<'de>,
[src]
OBJ: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<OBJ: Object> Serialize for SetResponse<OBJ> where
OBJ: Serialize,
[src]
OBJ: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<OBJ: Object + DeserializeOwned, '_> TryFrom<&'_ RawValue> for SetResponse<OBJ>
[src]
Auto Trait Implementations
impl<OBJ> RefUnwindSafe for SetResponse<OBJ> where
OBJ: RefUnwindSafe,
OBJ: RefUnwindSafe,
impl<OBJ> Send for SetResponse<OBJ> where
OBJ: Send,
OBJ: Send,
impl<OBJ> Sync for SetResponse<OBJ> where
OBJ: Sync,
OBJ: Sync,
impl<OBJ> Unpin for SetResponse<OBJ> where
OBJ: Unpin,
OBJ: Unpin,
impl<OBJ> UnwindSafe for SetResponse<OBJ> where
OBJ: UnwindSafe,
OBJ: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,