pub struct IssueBody {
pub credential_response: Option<CredentialResponse>,
pub sealed: Option<String>,
}Expand description
issue/1.0 — issuer → holder. Exactly one of:
credential_response— the cleartext OID4VCI response (the issued credential), for a known holder over an authenticated channel; orsealed— an armored [crate::sealed_transfer] bundle, when the credential is secret-bearing or issued to an unknown holder (the invite / air-gap case): only the holder can open it.
Fields§
§credential_response: Option<CredentialResponse>§sealed: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for IssueBody
impl<'de> Deserialize<'de> for IssueBody
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
Auto Trait Implementations§
impl Freeze for IssueBody
impl RefUnwindSafe for IssueBody
impl Send for IssueBody
impl Sync for IssueBody
impl Unpin for IssueBody
impl UnsafeUnpin for IssueBody
impl UnwindSafe for IssueBody
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