pub struct DocumentArchivePayload {
pub last_sync_id: Option<f64>,
pub success: Option<bool>,
pub entity: Option<Box<Document>>,
}Expand description
A generic payload return from entity archive mutations.
Fields§
§last_sync_id: Option<f64>The identifier of the last sync operation.
success: Option<bool>Whether the operation was successful.
entity: Option<Box<Document>>The archived/unarchived entity. Null if entity was deleted.
Trait Implementations§
Source§impl Clone for DocumentArchivePayload
impl Clone for DocumentArchivePayload
Source§fn clone(&self) -> DocumentArchivePayload
fn clone(&self) -> DocumentArchivePayload
Returns a duplicate of the value. Read more
1.0.0 · 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 DocumentArchivePayload
impl Debug for DocumentArchivePayload
Source§impl Default for DocumentArchivePayload
impl Default for DocumentArchivePayload
Source§fn default() -> DocumentArchivePayload
fn default() -> DocumentArchivePayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentArchivePayloadwhere
DocumentArchivePayload: Default,
impl<'de> Deserialize<'de> for DocumentArchivePayloadwhere
DocumentArchivePayload: Default,
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 DocumentArchivePayload
impl RefUnwindSafe for DocumentArchivePayload
impl Send for DocumentArchivePayload
impl Sync for DocumentArchivePayload
impl Unpin for DocumentArchivePayload
impl UnwindSafe for DocumentArchivePayload
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