pub struct VersionStatus {
pub state: VersionState,
pub head: Option<i64>,
pub head_time: Option<f64>,
pub genesis: Option<i64>,
pub frozen_at: Option<i64>,
pub commits: Option<u64>,
}Expand description
The versioning state of a store and where its clock and history stand.
Fields§
§state: VersionState§head: Option<i64>The latest tick.
head_time: Option<f64>Wall time of the latest tick (seconds since the epoch).
genesis: Option<i64>Where the recorded history (re)starts: the latest genesis or resume tick.
frozen_at: Option<i64>The latest freeze, while the history is frozen.
commits: Option<u64>Commits in the change log.
Trait Implementations§
Source§impl Clone for VersionStatus
impl Clone for VersionStatus
Source§fn clone(&self) -> VersionStatus
fn clone(&self) -> VersionStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VersionStatus
impl Debug for VersionStatus
Source§impl Default for VersionStatus
impl Default for VersionStatus
Source§fn default() -> VersionStatus
fn default() -> VersionStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for VersionStatus
impl PartialEq for VersionStatus
impl StructuralPartialEq for VersionStatus
Auto Trait Implementations§
impl Freeze for VersionStatus
impl RefUnwindSafe for VersionStatus
impl Send for VersionStatus
impl Sync for VersionStatus
impl Unpin for VersionStatus
impl UnsafeUnpin for VersionStatus
impl UnwindSafe for VersionStatus
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