pub struct RestoreReport {
pub source_path: PathBuf,
pub safety_backup_path: Option<PathBuf>,
pub schema_version: i64,
}Expand description
Result of restoring a database backup.
Fields§
§source_path: PathBufBackup used as the restore source.
safety_backup_path: Option<PathBuf>Safety backup of the replaced database, when it existed.
schema_version: i64Exact schema version restored.
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
impl Eq for RestoreReport
Source§impl PartialEq for RestoreReport
impl PartialEq for RestoreReport
impl StructuralPartialEq for RestoreReport
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