pub struct AbilityNamespace(/* private fields */);Implementations§
Source§impl AbilityNamespace
impl AbilityNamespace
pub fn new( raw_value: impl Into<String>, ) -> Result<AbilityNamespace, AbilityNamespaceError>
Source§impl AbilityNamespace
impl AbilityNamespace
pub fn into_inner(self) -> String
Trait Implementations§
Source§impl AsRef<str> for AbilityNamespace
impl AsRef<str> for AbilityNamespace
Source§impl Borrow<String> for AbilityNamespace
impl Borrow<String> for AbilityNamespace
Source§impl Borrow<str> for AbilityNamespace
impl Borrow<str> for AbilityNamespace
Source§impl Clone for AbilityNamespace
impl Clone for AbilityNamespace
Source§fn clone(&self) -> AbilityNamespace
fn clone(&self) -> AbilityNamespace
Returns a duplicate of the value. Read more
1.0.0 · 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 AbilityNamespace
impl Debug for AbilityNamespace
Source§impl<'de> Deserialize<'de> for AbilityNamespace
impl<'de> Deserialize<'de> for AbilityNamespace
Source§fn deserialize<D>(
deserializer: D,
) -> Result<AbilityNamespace, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<AbilityNamespace, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AbilityNamespace
impl Display for AbilityNamespace
Source§impl FromStr for AbilityNamespace
impl FromStr for AbilityNamespace
Source§type Err = AbilityNamespaceError
type Err = AbilityNamespaceError
The associated error which can be returned from parsing.
Source§fn from_str(
raw_string: &str,
) -> Result<AbilityNamespace, <AbilityNamespace as FromStr>::Err>
fn from_str( raw_string: &str, ) -> Result<AbilityNamespace, <AbilityNamespace as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AbilityNamespace
impl Hash for AbilityNamespace
Source§impl Ord for AbilityNamespace
impl Ord for AbilityNamespace
Source§fn cmp(&self, other: &AbilityNamespace) -> Ordering
fn cmp(&self, other: &AbilityNamespace) -> Ordering
1.21.0 · 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 AbilityNamespace
impl PartialEq for AbilityNamespace
Source§impl PartialOrd for AbilityNamespace
impl PartialOrd for AbilityNamespace
Source§impl Serialize for AbilityNamespace
impl Serialize for AbilityNamespace
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&str> for AbilityNamespace
impl TryFrom<&str> for AbilityNamespace
Source§type Error = AbilityNamespaceError
type Error = AbilityNamespaceError
The type returned in the event of a conversion error.
Source§fn try_from(
raw_value: &str,
) -> Result<AbilityNamespace, <AbilityNamespace as TryFrom<&str>>::Error>
fn try_from( raw_value: &str, ) -> Result<AbilityNamespace, <AbilityNamespace as TryFrom<&str>>::Error>
Performs the conversion.
Source§impl TryFrom<String> for AbilityNamespace
impl TryFrom<String> for AbilityNamespace
Source§type Error = AbilityNamespaceError
type Error = AbilityNamespaceError
The type returned in the event of a conversion error.
Source§fn try_from(
raw_value: String,
) -> Result<AbilityNamespace, <AbilityNamespace as TryFrom<String>>::Error>
fn try_from( raw_value: String, ) -> Result<AbilityNamespace, <AbilityNamespace as TryFrom<String>>::Error>
Performs the conversion.
impl Eq for AbilityNamespace
impl StructuralPartialEq for AbilityNamespace
Auto Trait Implementations§
impl Freeze for AbilityNamespace
impl RefUnwindSafe for AbilityNamespace
impl Send for AbilityNamespace
impl Sync for AbilityNamespace
impl Unpin for AbilityNamespace
impl UnwindSafe for AbilityNamespace
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.