pub struct LaravelMigrationName(/* private fields */);Implementations§
Source§impl LaravelMigrationName
impl LaravelMigrationName
pub fn new(input: &str) -> Result<LaravelMigrationName, LaravelError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for LaravelMigrationName
impl Clone for LaravelMigrationName
Source§fn clone(&self) -> LaravelMigrationName
fn clone(&self) -> LaravelMigrationName
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 LaravelMigrationName
impl Debug for LaravelMigrationName
Source§impl Display for LaravelMigrationName
impl Display for LaravelMigrationName
Source§impl FromStr for LaravelMigrationName
impl FromStr for LaravelMigrationName
Source§type Err = LaravelError
type Err = LaravelError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<LaravelMigrationName, <LaravelMigrationName as FromStr>::Err>
fn from_str( input: &str, ) -> Result<LaravelMigrationName, <LaravelMigrationName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for LaravelMigrationName
impl Hash for LaravelMigrationName
Source§impl Ord for LaravelMigrationName
impl Ord for LaravelMigrationName
Source§fn cmp(&self, other: &LaravelMigrationName) -> Ordering
fn cmp(&self, other: &LaravelMigrationName) -> 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 LaravelMigrationName
impl PartialEq for LaravelMigrationName
Source§fn eq(&self, other: &LaravelMigrationName) -> bool
fn eq(&self, other: &LaravelMigrationName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LaravelMigrationName
impl PartialOrd for LaravelMigrationName
impl Eq for LaravelMigrationName
impl StructuralPartialEq for LaravelMigrationName
Auto Trait Implementations§
impl Freeze for LaravelMigrationName
impl RefUnwindSafe for LaravelMigrationName
impl Send for LaravelMigrationName
impl Sync for LaravelMigrationName
impl Unpin for LaravelMigrationName
impl UnsafeUnpin for LaravelMigrationName
impl UnwindSafe for LaravelMigrationName
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