pub struct RestoreOptions {
pub allow_overwrite: bool,
pub skip_schema_check: bool,
pub current_schema_hash: Option<[u8; 32]>,
}Expand description
Options controlling restore behaviour.
Fields§
§allow_overwrite: bool§skip_schema_check: bool§current_schema_hash: Option<[u8; 32]>Trait Implementations§
Source§impl Clone for RestoreOptions
impl Clone for RestoreOptions
Source§fn clone(&self) -> RestoreOptions
fn clone(&self) -> RestoreOptions
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 RestoreOptions
impl Debug for RestoreOptions
Source§impl Default for RestoreOptions
impl Default for RestoreOptions
Source§fn default() -> RestoreOptions
fn default() -> RestoreOptions
Returns the “default value” for a type. Read more
impl Copy 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