pub struct JmapAddedItem {
pub id: String,
pub index: u64,
}Expand description
A single added item in a Foo/queryChanges response (RFC 8620 §5.6).
Fields§
§id: StringThe id of the added object.
index: u64The zero-based position of the object in the query results.
Trait Implementations§
Source§impl Clone for JmapAddedItem
impl Clone for JmapAddedItem
Source§fn clone(&self) -> JmapAddedItem
fn clone(&self) -> JmapAddedItem
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 moreSource§impl Debug for JmapAddedItem
impl Debug for JmapAddedItem
Source§impl<'de> Deserialize<'de> for JmapAddedItem
impl<'de> Deserialize<'de> for JmapAddedItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JmapAddedItem
impl RefUnwindSafe for JmapAddedItem
impl Send for JmapAddedItem
impl Sync for JmapAddedItem
impl Unpin for JmapAddedItem
impl UnsafeUnpin for JmapAddedItem
impl UnwindSafe for JmapAddedItem
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