pub struct PortableCredential {
pub claims: Vec<u8>,
pub proof: PortableProof,
}Expand description
Unauthenticated portable credential transport. claims contains the exact
canonical signed bytes, not a Candid encoding of PortableClaims.
Hosts must bound outer decoding and verify against protected enrollment.
Fields§
§claims: Vec<u8>§proof: PortableProofTrait Implementations§
Source§impl CandidType for PortableCredential
impl CandidType for PortableCredential
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
Auto Trait Implementations§
impl Freeze for PortableCredential
impl RefUnwindSafe for PortableCredential
impl Send for PortableCredential
impl Sync for PortableCredential
impl Unpin for PortableCredential
impl UnsafeUnpin for PortableCredential
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