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