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