pub struct ProofOfIdentity {
pub type: String,
pub value: Vec<u8>,
}Expand description
Proof of Identity - asserts the executor’s claimed identity.
Supported types: spiffe_svid, jwt, vc, x509.
Fields§
§type: String§value: Vec<u8>Trait Implementations§
Source§impl Clone for ProofOfIdentity
impl Clone for ProofOfIdentity
Source§fn clone(&self) -> ProofOfIdentity
fn clone(&self) -> ProofOfIdentity
Returns a duplicate of the value. Read more
1.0.0 · 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 ProofOfIdentity
impl Debug for ProofOfIdentity
Source§impl<'de> Deserialize<'de> for ProofOfIdentity
impl<'de> Deserialize<'de> for ProofOfIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProofOfIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProofOfIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProofOfIdentity
impl PartialEq for ProofOfIdentity
Source§impl Serialize for ProofOfIdentity
impl Serialize for ProofOfIdentity
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 ProofOfIdentity
Auto Trait Implementations§
impl Freeze for ProofOfIdentity
impl RefUnwindSafe for ProofOfIdentity
impl Send for ProofOfIdentity
impl Sync for ProofOfIdentity
impl Unpin for ProofOfIdentity
impl UnwindSafe for ProofOfIdentity
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