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