pub struct RestoreResult {
pub restored: bool,
pub requested_key: String,
pub key: Option<String>,
pub path: Option<String>,
pub size: Option<u64>,
pub compression: Option<String>,
pub created: Option<u64>,
}Expand description
What a restore did. A miss is not an error — check restored.
Fields§
§restored: bool§requested_key: StringThe key asked for.
key: Option<String>The entry actually used. Differs from requested_key
when a restore-key prefix matched, and is None on a miss.
path: Option<String>Guest path it was restored into.
size: Option<u64>§compression: Option<String>§created: Option<u64>Trait Implementations§
Source§impl Clone for RestoreResult
impl Clone for RestoreResult
Source§fn clone(&self) -> RestoreResult
fn clone(&self) -> RestoreResult
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 RestoreResult
impl Debug for RestoreResult
Source§impl Default for RestoreResult
impl Default for RestoreResult
Source§fn default() -> RestoreResult
fn default() -> RestoreResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RestoreResult
impl RefUnwindSafe for RestoreResult
impl Send for RestoreResult
impl Sync for RestoreResult
impl Unpin for RestoreResult
impl UnsafeUnpin for RestoreResult
impl UnwindSafe for RestoreResult
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