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