pub struct RestoreOutcome {
pub restored_generation: u64,
pub integrity: StateIntegrity,
}Expand description
Outcome of a completed restore (#5). The strong ETag is derived from
integrity (it is the same digest), so it is exposed as RestoreOutcome::etag
rather than stored as a second, divergeable field.
Fields§
§restored_generation: u64§integrity: StateIntegrityImplementations§
Trait Implementations§
Source§impl Clone for RestoreOutcome
impl Clone for RestoreOutcome
Source§fn clone(&self) -> RestoreOutcome
fn clone(&self) -> RestoreOutcome
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 RestoreOutcome
impl Debug for RestoreOutcome
Source§impl<'de> Deserialize<'de> for RestoreOutcome
impl<'de> Deserialize<'de> for RestoreOutcome
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 RestoreOutcome
impl RefUnwindSafe for RestoreOutcome
impl Send for RestoreOutcome
impl Sync for RestoreOutcome
impl Unpin for RestoreOutcome
impl UnsafeUnpin for RestoreOutcome
impl UnwindSafe for RestoreOutcome
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