pub struct Credential {
pub claims: Vec<u8>,
pub proof: CredentialProof,
}Expand description
Credential
Untrusted credential retaining the exact received signed claims bytes.
Fields§
§claims: Vec<u8>Canonical claims candidate; never decode/re-encode during projection.
proof: CredentialProofSubmitted proof; the host selects the verifier from protected enrollment.
Trait Implementations§
Source§impl Clone for Credential
impl Clone for Credential
Source§impl Debug for Credential
impl Debug for Credential
impl Eq for Credential
Source§impl PartialEq for Credential
impl PartialEq for Credential
impl StructuralPartialEq for Credential
Auto Trait Implementations§
impl Forget for Credential
impl Freeze for Credentialwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const CertifiedProofMaterial is !null: Freeze,
PhantomData<CertifiedProofMaterial>: Freeze,
impl Move for Credential
impl RefUnwindSafe for Credential
impl Send for Credential
impl Sync for Credential
impl Unpin for Credential
impl UnsafeUnpin for Credentialwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const CertifiedProofMaterial is !null: UnsafeUnpin,
PhantomData<CertifiedProofMaterial>: UnsafeUnpin,
impl UnwindSafe for Credential
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