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