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