pub struct PortableCredential {
pub claims: Bytes<65536>,
pub proof: PortableProof,
}Expand description
PortableCredential
Opaque signed claims with an unverified proof envelope.
Fields§
§claims: Bytes<65536>Exact received signed bytes; transport must not decode/re-encode them.
proof: PortableProofClaimed proof material requiring verification against protected inputs.
Trait Implementations§
Source§impl Clone for PortableCredential
impl Clone for PortableCredential
Source§impl Debug for PortableCredential
impl Debug for PortableCredential
Source§impl<'de> Deserialize<'de> for PortableCredential
impl<'de> Deserialize<'de> for PortableCredential
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 PortableCredential
Source§impl PartialEq for PortableCredential
impl PartialEq for PortableCredential
Source§impl Serialize for PortableCredential
impl Serialize for PortableCredential
impl StructuralPartialEq for PortableCredential
Source§impl TryFrom<PortableCredential> for Credential
impl TryFrom<PortableCredential> for Credential
Source§type Error = ProjectionError
type Error = ProjectionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for PortableCredential
impl Freeze for PortableCredentialwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const CertifiedProof is !null: Freeze,
PhantomData<CertifiedProof>: Freeze,
impl Move for PortableCredential
impl RefUnwindSafe for PortableCredential
impl Send for PortableCredential
impl Sync for PortableCredential
impl Unpin for PortableCredential
impl UnsafeUnpin for PortableCredentialwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const CertifiedProof is !null: UnsafeUnpin,
PhantomData<CertifiedProof>: UnsafeUnpin,
impl UnwindSafe for PortableCredential
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