pub struct RestoreReport {
pub restored: Vec<String>,
pub refused: Vec<(String, String)>,
}Expand description
The outcome of a CheckpointStore::restore call.
Fields§
§restored: Vec<String>Files successfully restored (project-relative paths).
refused: Vec<(String, String)>Files refused, with the reason — e.g. an out-of-root or protected-path target. Non-empty means the restore was PARTIAL; a caller must surface this, never silently swallow it.
Trait Implementations§
Source§impl Clone for RestoreReport
impl Clone for RestoreReport
Source§fn clone(&self) -> RestoreReport
fn clone(&self) -> RestoreReport
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 RestoreReport
impl Debug for RestoreReport
Source§impl Default for RestoreReport
impl Default for RestoreReport
Source§fn default() -> RestoreReport
fn default() -> RestoreReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestoreReport
impl<'de> Deserialize<'de> for RestoreReport
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 RestoreReport
impl RefUnwindSafe for RestoreReport
impl Send for RestoreReport
impl Sync for RestoreReport
impl Unpin for RestoreReport
impl UnsafeUnpin for RestoreReport
impl UnwindSafe for RestoreReport
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