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