Struct loro_internal::encoding::ImportBlobMetadata
source · pub struct ImportBlobMetadata {
pub partial_start_vv: VersionVector,
pub partial_end_vv: VersionVector,
pub start_timestamp: i64,
pub start_frontiers: Frontiers,
pub end_timestamp: i64,
pub change_num: u32,
pub is_snapshot: bool,
}Fields§
§partial_start_vv: VersionVectorThe partial start version vector.
Import blob includes all the ops from partial_start_vv to partial_end_vv.
However, it does not constitute a complete version vector, as it only contains counters
from peers included within the import blob.
partial_end_vv: VersionVectorThe partial end version vector.
Import blob includes all the ops from partial_start_vv to partial_end_vv.
However, it does not constitute a complete version vector, as it only contains counters
from peers included within the import blob.
start_timestamp: i64§start_frontiers: Frontiers§end_timestamp: i64§change_num: u32§is_snapshot: boolTrait Implementations§
source§impl Clone for ImportBlobMetadata
impl Clone for ImportBlobMetadata
source§fn clone(&self) -> ImportBlobMetadata
fn clone(&self) -> ImportBlobMetadata
Returns a copy 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 ImportBlobMetadata
impl Debug for ImportBlobMetadata
source§impl<'de> Deserialize<'de> for ImportBlobMetadata
impl<'de> Deserialize<'de> for ImportBlobMetadata
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 ImportBlobMetadata
impl RefUnwindSafe for ImportBlobMetadata
impl Send for ImportBlobMetadata
impl Sync for ImportBlobMetadata
impl Unpin for ImportBlobMetadata
impl UnwindSafe for ImportBlobMetadata
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