pub struct DocVersion {
pub seq: u64,
pub at: UnixMillis,
pub blob: BlobId,
}Expand description
One version a document has had, out of ControlStore::history.
Fields§
§seq: u64Its position in the document’s history, from 1.
at: UnixMillisWhen it was committed, in milliseconds since the unix epoch.
blob: BlobIdThe version itself, still readable through
ControlStore::get_blob — nothing prunes the blob table.
Trait Implementations§
Source§impl Clone for DocVersion
impl Clone for DocVersion
Source§impl Debug for DocVersion
impl Debug for DocVersion
impl Eq for DocVersion
Source§impl PartialEq for DocVersion
impl PartialEq for DocVersion
impl StructuralPartialEq for DocVersion
Auto Trait Implementations§
impl Freeze for DocVersion
impl RefUnwindSafe for DocVersion
impl Send for DocVersion
impl Sync for DocVersion
impl Unpin for DocVersion
impl UnsafeUnpin for DocVersion
impl UnwindSafe for DocVersion
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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