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