pub struct Meta {
pub format_version: u32,
pub replica_id: ReplicaId,
pub counter: u64,
pub hlc: Hlc,
pub vv: VersionVector,
pub root: String,
}Expand description
Replica-wide metadata.
Fields§
§format_version: u32§replica_id: ReplicaId§counter: u64Counter of the last dot this replica assigned.
hlc: Hlc§vv: VersionVectorEvery dot whose effects this replica’s states include.
root: StringWorkspace root this store belongs to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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
impl Eq for Meta
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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