pub struct ProofOfRelationship {
pub por_type: String,
pub evidence: Vec<u8>,
}Expand description
Typed Proof of Relationship container. type controls how evidence
is parsed and validated; current Profile 0.2 requires "sd-jwt" with the
exact UTF-8 bytes of the issuer-signed SD-JWT presentation.
Fields§
§por_type: StringEvidence type; current Profile 0.2 requires
crate::POR_TYPE_SD_JWT.
evidence: Vec<u8>Type-specific evidence bytes; for "sd-jwt", the exact UTF-8 bytes
of the issuer-signed SD-JWT presentation.
Implementations§
Trait Implementations§
Source§impl Clone for ProofOfRelationship
impl Clone for ProofOfRelationship
Source§fn clone(&self) -> ProofOfRelationship
fn clone(&self) -> ProofOfRelationship
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProofOfRelationship
impl Debug for ProofOfRelationship
Source§impl<'de> Deserialize<'de> for ProofOfRelationship
impl<'de> Deserialize<'de> for ProofOfRelationship
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 ProofOfRelationship
Source§impl PartialEq for ProofOfRelationship
impl PartialEq for ProofOfRelationship
Source§impl Serialize for ProofOfRelationship
impl Serialize for ProofOfRelationship
impl StructuralPartialEq for ProofOfRelationship
Auto Trait Implementations§
impl Freeze for ProofOfRelationship
impl RefUnwindSafe for ProofOfRelationship
impl Send for ProofOfRelationship
impl Sync for ProofOfRelationship
impl Unpin for ProofOfRelationship
impl UnsafeUnpin for ProofOfRelationship
impl UnwindSafe for ProofOfRelationship
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