pub struct MigrationOptions {
pub schema_version: u32,
pub allow_write: bool,
}Expand description
Explicit opt-in required before a legacy manifest can be rewritten.
Fields§
§schema_version: u32Target schema version. Only version 1 is currently supported.
allow_write: boolExplicitly authorizes controlled-write migration.
Trait Implementations§
Source§impl Clone for MigrationOptions
impl Clone for MigrationOptions
Source§fn clone(&self) -> MigrationOptions
fn clone(&self) -> MigrationOptions
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 moreimpl Copy for MigrationOptions
Source§impl Debug for MigrationOptions
impl Debug for MigrationOptions
impl Eq for MigrationOptions
Source§impl PartialEq for MigrationOptions
impl PartialEq for MigrationOptions
impl StructuralPartialEq for MigrationOptions
Auto Trait Implementations§
impl Freeze for MigrationOptions
impl RefUnwindSafe for MigrationOptions
impl Send for MigrationOptions
impl Sync for MigrationOptions
impl Unpin for MigrationOptions
impl UnsafeUnpin for MigrationOptions
impl UnwindSafe for MigrationOptions
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