#[repr(C)]pub struct C4CollectionChange {
pub docID: C4HeapString,
pub revID: C4HeapString,
pub sequence: C4SequenceNumber,
pub bodySize: u32,
pub flags: C4RevisionFlags,
}Expand description
Represents a change to a document in a collection, as returned from \ref c4dbobs_getChanges.
Fields§
§docID: C4HeapString< The document’s ID
revID: C4HeapString< The current revision ID (or null if doc was purged)
sequence: C4SequenceNumber< The current sequence number (or 0 if doc was purged)
bodySize: u32< The size of the revision body in bytes
flags: C4RevisionFlags< The current revision’s flags
Trait Implementations§
Source§impl Clone for C4CollectionChange
impl Clone for C4CollectionChange
Source§fn clone(&self) -> C4CollectionChange
fn clone(&self) -> C4CollectionChange
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 C4CollectionChange
impl Debug for C4CollectionChange
impl Copy for C4CollectionChange
Auto Trait Implementations§
impl Freeze for C4CollectionChange
impl RefUnwindSafe for C4CollectionChange
impl !Send for C4CollectionChange
impl !Sync for C4CollectionChange
impl Unpin for C4CollectionChange
impl UnwindSafe for C4CollectionChange
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