pub struct HolderAuthorizationRequest {
pub subject_pubkey: SubjectPubkey,
}Expand description
Request for a holder authorization.
An auxiliary subject key asks to act under the holder’s identity. The holder chooses which credential to authorize separately when signing.
Fields§
§subject_pubkey: SubjectPubkeyThe auxiliary key or actor that the holder authorizes.
Implementations§
Source§impl HolderAuthorizationRequest
impl HolderAuthorizationRequest
Sourcepub fn into_statement(
self,
holder_id_pubkey: HolderId,
issued_at: Timestamp,
credential: &SignedCredential,
) -> Result<HolderAuthorizationStatement, CredentialsError>
pub fn into_statement( self, holder_id_pubkey: HolderId, issued_at: Timestamp, credential: &SignedCredential, ) -> Result<HolderAuthorizationStatement, CredentialsError>
Convert this application input into the canonical statement to sign.
Trait Implementations§
Source§impl Clone for HolderAuthorizationRequest
impl Clone for HolderAuthorizationRequest
Source§fn clone(&self) -> HolderAuthorizationRequest
fn clone(&self) -> HolderAuthorizationRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 HolderAuthorizationRequest
impl Debug for HolderAuthorizationRequest
Source§impl<'de> Deserialize<'de> for HolderAuthorizationRequest
impl<'de> Deserialize<'de> for HolderAuthorizationRequest
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 StructuralPartialEq for HolderAuthorizationRequest
Auto Trait Implementations§
impl Freeze for HolderAuthorizationRequest
impl RefUnwindSafe for HolderAuthorizationRequest
impl Send for HolderAuthorizationRequest
impl Sync for HolderAuthorizationRequest
impl Unpin for HolderAuthorizationRequest
impl UnsafeUnpin for HolderAuthorizationRequest
impl UnwindSafe for HolderAuthorizationRequest
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