pub struct RestoreOptions {
pub selector: BackupRunSelector,
pub surface: Option<String>,
pub overlay_enabled: bool,
pub overlay_path: Option<PathBuf>,
}Expand description
Per-run knobs. Defaults: overlay merge on, no surface filter, selector resolves to the most recent backup run.
Fields§
§selector: BackupRunSelector§surface: Option<String>Filter to a single link-map entry id. Default None = restore
every backup file in the run.
overlay_enabled: bool§overlay_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for RestoreOptions
impl Clone for RestoreOptions
Source§impl Debug for RestoreOptions
impl Debug for RestoreOptions
Auto Trait Implementations§
impl Freeze for RestoreOptions
impl RefUnwindSafe for RestoreOptions
impl Send for RestoreOptions
impl Sync for RestoreOptions
impl Unpin for RestoreOptions
impl UnsafeUnpin for RestoreOptions
impl UnwindSafe for RestoreOptions
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