pub struct ProviderInstanceId {
pub provider_id: ProviderId,
pub instance_id: InstanceId,
}Expand description
Collision-free logical identity of an instance exposed by a provider.
Fields§
§provider_id: ProviderId§instance_id: InstanceIdImplementations§
Source§impl ProviderInstanceId
impl ProviderInstanceId
pub fn new(provider_id: ProviderId, instance_id: InstanceId) -> Self
Trait Implementations§
Source§impl Clone for ProviderInstanceId
impl Clone for ProviderInstanceId
Source§impl Debug for ProviderInstanceId
impl Debug for ProviderInstanceId
Source§impl<'de> Deserialize<'de> for ProviderInstanceId
impl<'de> Deserialize<'de> for ProviderInstanceId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProviderInstanceId
impl Display for ProviderInstanceId
impl Eq for ProviderInstanceId
Source§impl FromStr for ProviderInstanceId
impl FromStr for ProviderInstanceId
Source§impl Hash for ProviderInstanceId
impl Hash for ProviderInstanceId
Source§impl Ord for ProviderInstanceId
impl Ord for ProviderInstanceId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProviderInstanceId
impl PartialEq for ProviderInstanceId
Source§impl PartialOrd for ProviderInstanceId
impl PartialOrd for ProviderInstanceId
Source§impl Serialize for ProviderInstanceId
impl Serialize for ProviderInstanceId
impl StructuralPartialEq for ProviderInstanceId
Auto Trait Implementations§
impl Forget for ProviderInstanceId
impl Freeze for ProviderInstanceId
impl Move for ProviderInstanceId
impl RefUnwindSafe for ProviderInstanceId
impl Send for ProviderInstanceId
impl Sync for ProviderInstanceId
impl Unpin for ProviderInstanceId
impl UnsafeUnpin for ProviderInstanceId
impl UnwindSafe for ProviderInstanceId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.