pub enum WorkloadIdentity {
Oidc {
issuer: String,
subject: String,
},
Spiffe {
subject: String,
},
}Expand description
A workload identity: the RFC-AITP-0002 identity hint, with no proof (§2, §4.1, §5.3). Equality is the §4.1 byte-for-byte comparison.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WorkloadIdentity
impl Clone for WorkloadIdentity
Source§impl Debug for WorkloadIdentity
impl Debug for WorkloadIdentity
Source§impl<'de> Deserialize<'de> for WorkloadIdentity
impl<'de> Deserialize<'de> for WorkloadIdentity
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
impl Eq for WorkloadIdentity
Source§impl Hash for WorkloadIdentity
impl Hash for WorkloadIdentity
Source§impl PartialEq for WorkloadIdentity
impl PartialEq for WorkloadIdentity
Source§impl Serialize for WorkloadIdentity
impl Serialize for WorkloadIdentity
impl StructuralPartialEq for WorkloadIdentity
Auto Trait Implementations§
impl Freeze for WorkloadIdentity
impl RefUnwindSafe for WorkloadIdentity
impl Send for WorkloadIdentity
impl Sync for WorkloadIdentity
impl Unpin for WorkloadIdentity
impl UnsafeUnpin for WorkloadIdentity
impl UnwindSafe for WorkloadIdentity
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,
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.