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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.