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