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