#[repr(C)]pub struct C4DocumentInfo {
pub flags: C4DocumentFlags,
pub docID: C4HeapString,
pub revID: C4HeapString,
pub sequence: C4SequenceNumber,
pub bodySize: u64,
pub metaSize: u64,
pub expiration: C4Timestamp,
}Expand description
Metadata about a document (actually about its current revision.)
Fields§
§flags: C4DocumentFlags< Document flags
docID: C4HeapString< Document ID
revID: C4HeapString< RevID of current revision
sequence: C4SequenceNumber< Sequence at which doc was last updated
bodySize: u64< Size in bytes of current revision body (as Fleece not JSON)
metaSize: u64< Size in bytes of extra metadata
expiration: C4Timestamp< Expiration time, or 0 if none
Trait Implementations§
Source§impl Clone for C4DocumentInfo
impl Clone for C4DocumentInfo
Source§fn clone(&self) -> C4DocumentInfo
fn clone(&self) -> C4DocumentInfo
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 C4DocumentInfo
impl Debug for C4DocumentInfo
impl Copy for C4DocumentInfo
Auto Trait Implementations§
impl Freeze for C4DocumentInfo
impl RefUnwindSafe for C4DocumentInfo
impl !Send for C4DocumentInfo
impl !Sync for C4DocumentInfo
impl Unpin for C4DocumentInfo
impl UnwindSafe for C4DocumentInfo
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