pub struct MigrationId {
pub app: String,
pub name: String,
}Expand description
A stable migration name, scoped to an application.
Fields§
§app: String§name: StringTrait Implementations§
Source§impl Clone for MigrationId
impl Clone for MigrationId
Source§impl Debug for MigrationId
impl Debug for MigrationId
impl Eq for MigrationId
Source§impl Hash for MigrationId
impl Hash for MigrationId
Source§impl Ord for MigrationId
impl Ord for MigrationId
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 MigrationId
impl PartialEq for MigrationId
Source§impl PartialOrd for MigrationId
impl PartialOrd for MigrationId
impl StructuralPartialEq for MigrationId
Auto Trait Implementations§
impl Forget for MigrationId
impl Freeze for MigrationId
impl Move for MigrationId
impl RefUnwindSafe for MigrationId
impl Send for MigrationId
impl Sync for MigrationId
impl Unpin for MigrationId
impl UnsafeUnpin for MigrationId
impl UnwindSafe for MigrationId
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