pub struct CredentialId(pub String);Expand description
Stable id for a runtime-issued provisioned credential.
Tuple Fields§
§0: StringWire string.
Implementations§
Source§impl CredentialId
impl CredentialId
Trait Implementations§
Source§impl Clone for CredentialId
impl Clone for CredentialId
Source§fn clone(&self) -> CredentialId
fn clone(&self) -> CredentialId
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 CredentialId
impl Debug for CredentialId
Source§impl<'de> Deserialize<'de> for CredentialId
impl<'de> Deserialize<'de> for CredentialId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CredentialId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CredentialId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CredentialId
impl Display for CredentialId
Source§impl Hash for CredentialId
impl Hash for CredentialId
Source§impl Ord for CredentialId
impl Ord for CredentialId
Source§fn cmp(&self, other: &CredentialId) -> Ordering
fn cmp(&self, other: &CredentialId) -> 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 CredentialId
impl PartialEq for CredentialId
Source§fn eq(&self, other: &CredentialId) -> bool
fn eq(&self, other: &CredentialId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CredentialId
impl PartialOrd for CredentialId
Source§impl Serialize for CredentialId
impl Serialize for CredentialId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for CredentialId
impl StructuralPartialEq for CredentialId
Auto Trait Implementations§
impl Freeze for CredentialId
impl RefUnwindSafe for CredentialId
impl Send for CredentialId
impl Sync for CredentialId
impl Unpin for CredentialId
impl UnsafeUnpin for CredentialId
impl UnwindSafe for CredentialId
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