pub struct MigrationName(/* private fields */);Expand description
A portable filename-stem migration name forming the second identity component.
Implementations§
Trait Implementations§
Source§impl Clone for MigrationName
impl Clone for MigrationName
Source§fn clone(&self) -> MigrationName
fn clone(&self) -> MigrationName
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 MigrationName
impl Debug for MigrationName
Source§impl Display for MigrationName
impl Display for MigrationName
impl Eq for MigrationName
Source§impl Hash for MigrationName
impl Hash for MigrationName
Source§impl Ord for MigrationName
impl Ord for MigrationName
Source§fn cmp(&self, other: &MigrationName) -> Ordering
fn cmp(&self, other: &MigrationName) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MigrationName
impl PartialEq for MigrationName
Source§impl PartialOrd for MigrationName
impl PartialOrd for MigrationName
Source§impl Serialize for MigrationName
impl Serialize for MigrationName
impl StructuralPartialEq for MigrationName
Auto Trait Implementations§
impl Freeze for MigrationName
impl RefUnwindSafe for MigrationName
impl Send for MigrationName
impl Sync for MigrationName
impl Unpin for MigrationName
impl UnsafeUnpin for MigrationName
impl UnwindSafe for MigrationName
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