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<'__wire_read> Evolving<'__wire_read> for PortableCredentialwhere
Bytes<65536>: Inline<'__wire_read>,
PortableProof: Inline<'__wire_read>,
impl<'__wire_read> Evolving<'__wire_read> for PortableCredentialwhere
Bytes<65536>: Inline<'__wire_read>,
PortableProof: Inline<'__wire_read>,
Source§impl EvolvingSchema for PortableCredential
impl EvolvingSchema for PortableCredential
fn describe( __wire_context: &mut SchemaContext, ) -> Result<Value, GenerationError>
Source§impl<'__wire_read> Inline<'__wire_read> for PortableCredentialwhere
Bytes<65536>: Inline<'__wire_read>,
PortableProof: Inline<'__wire_read>,
impl<'__wire_read> Inline<'__wire_read> for PortableCredentialwhere
Bytes<65536>: Inline<'__wire_read>,
PortableProof: Inline<'__wire_read>,
Source§type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
The staged Serde value and its borrowed application data or scratch.
Source§type Decoded = __WireDecodedView<'__wire_read>
type Decoded = __WireDecodedView<'__wire_read>
The raw Serde value to project with the enclosing read context.
impl<'__wire_read> InlineMessage<'__wire_read> for PortableCredentialwhere
Bytes<65536>: Inline<'__wire_read>,
PortableProof: Inline<'__wire_read>,
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.
Source§impl Wire for PortableCredential
impl Wire for PortableCredential
Source§fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
Produce metadata using
context.describe for every nested Rust type. Read moreAuto Trait Implementations§
impl Forget for PortableCredential
impl Freeze for PortableCredentialwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<DelegatedRoleGrant>: Freeze,
PhantomData<ChainKeyBatchWitnessStepV1>: Freeze,
PhantomData<Bytes<256>>: Freeze,
impl Move for PortableCredential
impl RefUnwindSafe for PortableCredential
impl Send for PortableCredentialwhere
RawVecInner: Send,
impl Sync for PortableCredentialwhere
RawVecInner: Sync,
impl Unpin for PortableCredential
impl UnsafeUnpin for PortableCredentialwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DelegatedRoleGrant>: UnsafeUnpin,
PhantomData<ChainKeyBatchWitnessStepV1>: UnsafeUnpin,
PhantomData<Bytes<256>>: UnsafeUnpin,
impl UnwindSafe for PortableCredentialwhere
RawVecInner: UnwindSafe,
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