pub struct MigrationAppliedAt(/* private fields */);Implementations§
Source§impl MigrationAppliedAt
impl MigrationAppliedAt
Sourcepub fn new(input: impl AsRef<str>) -> Result<MigrationAppliedAt, MigrationError>
pub fn new(input: impl AsRef<str>) -> Result<MigrationAppliedAt, MigrationError>
Creates a migration metadata label.
§Errors
Returns MigrationError when the label is empty or contains control characters.
Trait Implementations§
Source§impl Clone for MigrationAppliedAt
impl Clone for MigrationAppliedAt
Source§fn clone(&self) -> MigrationAppliedAt
fn clone(&self) -> MigrationAppliedAt
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 MigrationAppliedAt
impl Debug for MigrationAppliedAt
Source§impl Display for MigrationAppliedAt
impl Display for MigrationAppliedAt
Source§impl Hash for MigrationAppliedAt
impl Hash for MigrationAppliedAt
Source§impl Ord for MigrationAppliedAt
impl Ord for MigrationAppliedAt
Source§fn cmp(&self, other: &MigrationAppliedAt) -> Ordering
fn cmp(&self, other: &MigrationAppliedAt) -> 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
Source§impl PartialEq for MigrationAppliedAt
impl PartialEq for MigrationAppliedAt
Source§fn eq(&self, other: &MigrationAppliedAt) -> bool
fn eq(&self, other: &MigrationAppliedAt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MigrationAppliedAt
impl PartialOrd for MigrationAppliedAt
impl Eq for MigrationAppliedAt
impl StructuralPartialEq for MigrationAppliedAt
Auto Trait Implementations§
impl Freeze for MigrationAppliedAt
impl RefUnwindSafe for MigrationAppliedAt
impl Send for MigrationAppliedAt
impl Sync for MigrationAppliedAt
impl Unpin for MigrationAppliedAt
impl UnsafeUnpin for MigrationAppliedAt
impl UnwindSafe for MigrationAppliedAt
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