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