Struct identity_iota::sd_jwt_payload::SdJwt
source · pub struct SdJwt {
pub jwt: String,
pub disclosures: Vec<String>,
pub key_binding_jwt: Option<String>,
}
Expand description
Representation of an SD-JWT of the format
<Issuer-signed JWT>~<Disclosure 1>~<Disclosure 2>~...~<Disclosure N>~<optional KB-JWT>
.
Fields§
§jwt: String
The JWT part.
disclosures: Vec<String>
The disclosures part.
key_binding_jwt: Option<String>
The optional key binding JWT.
Implementations§
source§impl SdJwt
impl SdJwt
Trait Implementations§
source§impl PartialEq for SdJwt
impl PartialEq for SdJwt
impl Eq for SdJwt
impl StructuralPartialEq for SdJwt
Auto Trait Implementations§
impl Freeze for SdJwt
impl RefUnwindSafe for SdJwt
impl Send for SdJwt
impl Sync for SdJwt
impl Unpin for SdJwt
impl UnwindSafe for SdJwt
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.