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