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