pub struct MlDatasetId(/* private fields */);Implementations§
Source§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§
Source§impl AsRef<str> for MlDatasetId
impl AsRef<str> for MlDatasetId
Source§impl Clone for MlDatasetId
impl Clone for MlDatasetId
Source§fn clone(&self) -> MlDatasetId
fn clone(&self) -> MlDatasetId
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 MlDatasetId
impl Debug for MlDatasetId
Source§impl Display for MlDatasetId
impl Display for MlDatasetId
Source§impl FromStr for MlDatasetId
impl FromStr for MlDatasetId
Source§type Err = MlDatasetError
type Err = MlDatasetError
The associated error which can be returned from parsing.
Source§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 moreSource§impl Hash for MlDatasetId
impl Hash for MlDatasetId
Source§impl Ord for MlDatasetId
impl Ord for MlDatasetId
Source§fn cmp(&self, other: &MlDatasetId) -> Ordering
fn cmp(&self, other: &MlDatasetId) -> 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 MlDatasetId
impl PartialEq for MlDatasetId
Source§fn eq(&self, other: &MlDatasetId) -> bool
fn eq(&self, other: &MlDatasetId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MlDatasetId
impl PartialOrd for MlDatasetId
Source§impl TryFrom<&str> for MlDatasetId
impl TryFrom<&str> for MlDatasetId
Source§type Error = MlDatasetError
type Error = MlDatasetError
The type returned in the event of a conversion error.
Source§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