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