pub struct ProviderKey(/* private fields */);Expand description
Open, normalized identity used by model specifications to select a provider.
Implementations§
Trait Implementations§
Source§impl Clone for ProviderKey
impl Clone for ProviderKey
Source§fn clone(&self) -> ProviderKey
fn clone(&self) -> ProviderKey
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 ProviderKey
impl Debug for ProviderKey
Source§impl<'de> Deserialize<'de> for ProviderKey
impl<'de> Deserialize<'de> for ProviderKey
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProviderKey
impl Display for ProviderKey
impl Eq for ProviderKey
Source§impl From<&str> for ProviderKey
impl From<&str> for ProviderKey
Source§impl From<String> for ProviderKey
impl From<String> for ProviderKey
Source§impl Hash for ProviderKey
impl Hash for ProviderKey
Source§impl PartialEq for ProviderKey
impl PartialEq for ProviderKey
Source§impl Serialize for ProviderKey
impl Serialize for ProviderKey
impl StructuralPartialEq for ProviderKey
Auto Trait Implementations§
impl Freeze for ProviderKey
impl RefUnwindSafe for ProviderKey
impl Send for ProviderKey
impl Sync for ProviderKey
impl Unpin for ProviderKey
impl UnsafeUnpin for ProviderKey
impl UnwindSafe for ProviderKey
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