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