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