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