pub struct RollbackForkState {
pub schema_version: Option<u16>,
pub fork_marker: Option<ForkMarker>,
}Expand description
Rollback/fork metadata available to a caller that is comparing current state against a candidate state before permitting restore, doctor, or write flows.
Fields§
§schema_version: Option<u16>Declared schema version for the state, if the caller has one.
fork_marker: Option<ForkMarker>Explicit fork marker detected in metadata or state, if any.
Trait Implementations§
Source§impl Clone for RollbackForkState
impl Clone for RollbackForkState
Source§fn clone(&self) -> RollbackForkState
fn clone(&self) -> RollbackForkState
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 RollbackForkState
impl Debug for RollbackForkState
Source§impl Default for RollbackForkState
impl Default for RollbackForkState
Source§fn default() -> RollbackForkState
fn default() -> RollbackForkState
Returns the “default value” for a type. Read more
Source§impl PartialEq for RollbackForkState
impl PartialEq for RollbackForkState
Source§fn eq(&self, other: &RollbackForkState) -> bool
fn eq(&self, other: &RollbackForkState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RollbackForkState
impl StructuralPartialEq for RollbackForkState
Auto Trait Implementations§
impl Freeze for RollbackForkState
impl RefUnwindSafe for RollbackForkState
impl Send for RollbackForkState
impl Sync for RollbackForkState
impl Unpin for RollbackForkState
impl UnsafeUnpin for RollbackForkState
impl UnwindSafe for RollbackForkState
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