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