#[non_exhaustive]pub struct ChangesResult {
pub created: Vec<Id>,
pub updated: Vec<Id>,
pub destroyed: Vec<Id>,
pub has_more_changes: bool,
pub new_state: State,
}Expand description
Result of a /changes call (RFC 8620 §5.2).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.created: Vec<Id>Ids of objects that were created since sinceState.
updated: Vec<Id>Ids of objects that were updated since sinceState.
destroyed: Vec<Id>Ids of objects that were destroyed since sinceState.
has_more_changes: booltrue if there are more changes beyond this batch.
new_state: StateThe current state token after applying all reported changes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChangesResult
impl RefUnwindSafe for ChangesResult
impl Send for ChangesResult
impl Sync for ChangesResult
impl Unpin for ChangesResult
impl UnsafeUnpin for ChangesResult
impl UnwindSafe for ChangesResult
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