pub struct KeyDeletion {
pub from_ver: u32,
pub to_ver: u32,
pub keys: Vec<String>,
}Expand description
Delete one or more keys.
Fields§
§from_ver: u32§to_ver: u32§keys: Vec<String>Implementations§
Trait Implementations§
Source§impl Migration for KeyDeletion
impl Migration for KeyDeletion
fn from_version(&self) -> u32
fn to_version(&self) -> u32
fn migrate(&self, value: &mut Value) -> Result<(), SettingsError>
Auto Trait Implementations§
impl Freeze for KeyDeletion
impl RefUnwindSafe for KeyDeletion
impl Send for KeyDeletion
impl Sync for KeyDeletion
impl Unpin for KeyDeletion
impl UnsafeUnpin for KeyDeletion
impl UnwindSafe for KeyDeletion
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