pub struct CollectionMetadata {
pub id: String,
pub name: String,
pub crdt_type: String,
pub version: u32,
pub last_sync: u64,
pub replica_count: u32,
}Expand description
Collection metadata for synchronization
Fields§
§id: String§name: String§crdt_type: String§version: u32§last_sync: u64§replica_count: u32Trait Implementations§
Source§impl Clone for CollectionMetadata
impl Clone for CollectionMetadata
Source§fn clone(&self) -> CollectionMetadata
fn clone(&self) -> CollectionMetadata
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 CollectionMetadata
impl Debug for CollectionMetadata
Source§impl<'de> Deserialize<'de> for CollectionMetadata
impl<'de> Deserialize<'de> for CollectionMetadata
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 CollectionMetadata
impl RefUnwindSafe for CollectionMetadata
impl Send for CollectionMetadata
impl Sync for CollectionMetadata
impl Unpin for CollectionMetadata
impl UnwindSafe for CollectionMetadata
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