pub struct Rename {
pub from: &'static str,
pub to: &'static str,
pub step_index: usize,
}Expand description
One verb rename recorded during a migration pass.
Fields§
§from: &'static str§to: &'static str§step_index: usize1-indexed step position where the rename was applied.
Trait Implementations§
impl Eq for Rename
impl StructuralPartialEq for Rename
Auto Trait Implementations§
impl Freeze for Rename
impl RefUnwindSafe for Rename
impl Send for Rename
impl Sync for Rename
impl Unpin for Rename
impl UnsafeUnpin for Rename
impl UnwindSafe for Rename
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.