pub struct ProvisionedCredential {
pub id: CredentialId,
pub scheme: CredentialScheme,
pub value: String,
pub endpoint: String,
pub profile: Option<String>,
pub constraints: Option<LeaseRequest>,
}Expand description
Wire shape for a provisioned credential (ARCP v1.1 §9.8.1).
Fields§
§id: CredentialIdCredential identifier.
scheme: CredentialSchemeAuthentication scheme.
value: StringSecret value. This is intentionally redacted from Debug.
endpoint: StringUpstream endpoint where the credential is valid.
profile: Option<String>Optional provider profile.
constraints: Option<LeaseRequest>Lease constraints baked into the upstream credential.
Trait Implementations§
Source§impl Clone for ProvisionedCredential
impl Clone for ProvisionedCredential
Source§fn clone(&self) -> ProvisionedCredential
fn clone(&self) -> ProvisionedCredential
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 ProvisionedCredential
impl Debug for ProvisionedCredential
Source§impl<'de> Deserialize<'de> for ProvisionedCredential
impl<'de> Deserialize<'de> for ProvisionedCredential
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 PartialEq for ProvisionedCredential
impl PartialEq for ProvisionedCredential
Source§fn eq(&self, other: &ProvisionedCredential) -> bool
fn eq(&self, other: &ProvisionedCredential) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProvisionedCredential
impl Serialize for ProvisionedCredential
impl StructuralPartialEq for ProvisionedCredential
Auto Trait Implementations§
impl Freeze for ProvisionedCredential
impl RefUnwindSafe for ProvisionedCredential
impl Send for ProvisionedCredential
impl Sync for ProvisionedCredential
impl Unpin for ProvisionedCredential
impl UnsafeUnpin for ProvisionedCredential
impl UnwindSafe for ProvisionedCredential
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