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