pub struct CredentialEnvelope {
pub kind: CredentialEnvelopeKind,
pub grant_id: NonEmptyString,
pub provider: NonEmptyString,
pub auth_mode: NonEmptyString,
pub material_kind: NonEmptyString,
pub provider_reference: NonEmptyString,
pub scopes: Vec<NonEmptyString>,
pub grant_reference: Option<CredentialGrantReference>,
pub material_ref: NonEmptyString,
}Expand description
A resolved credential envelope (runx.ai/spec/credential-envelope).
Fields§
§kind: CredentialEnvelopeKind§grant_id: NonEmptyString§provider: NonEmptyString§auth_mode: NonEmptyString§material_kind: NonEmptyString§provider_reference: NonEmptyString§scopes: Vec<NonEmptyString>§grant_reference: Option<CredentialGrantReference>§material_ref: NonEmptyStringTrait Implementations§
Source§impl Clone for CredentialEnvelope
impl Clone for CredentialEnvelope
Source§fn clone(&self) -> CredentialEnvelope
fn clone(&self) -> CredentialEnvelope
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 CredentialEnvelope
impl Debug for CredentialEnvelope
Source§impl<'de> Deserialize<'de> for CredentialEnvelope
impl<'de> Deserialize<'de> for CredentialEnvelope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CredentialEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CredentialEnvelope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CredentialEnvelope
Source§impl PartialEq for CredentialEnvelope
impl PartialEq for CredentialEnvelope
Source§fn eq(&self, other: &CredentialEnvelope) -> bool
fn eq(&self, other: &CredentialEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RunxSchema for CredentialEnvelope
impl RunxSchema for CredentialEnvelope
Source§fn json_schema() -> Value
fn json_schema() -> Value
The inlined JSON Schema for this type.
Source§impl Serialize for CredentialEnvelope
impl Serialize for CredentialEnvelope
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 StructuralPartialEq for CredentialEnvelope
Auto Trait Implementations§
impl Freeze for CredentialEnvelope
impl RefUnwindSafe for CredentialEnvelope
impl Send for CredentialEnvelope
impl Sync for CredentialEnvelope
impl Unpin for CredentialEnvelope
impl UnsafeUnpin for CredentialEnvelope
impl UnwindSafe for CredentialEnvelope
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