pub struct CheckResultAcceptMetadata {
pub metadata: usize,
}
Expand description
Optional metadata the credential checker can attach to an accepted credential.
This metadata can be used to provide context for why or how the accepted
credential was accepted. For example, this could be set to the index of a
public key that was used to verify a cryptographic signature. This value can
then be used by the AppId assigner to assign the correct AppId and
ShortId
.
Fields§
§metadata: usize
The metadata stored with the accepted credential is a usize that has an application-specific meaning.
Trait Implementations§
Source§impl Clone for CheckResultAcceptMetadata
impl Clone for CheckResultAcceptMetadata
Source§fn clone(&self) -> CheckResultAcceptMetadata
fn clone(&self) -> CheckResultAcceptMetadata
Returns a copy 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 CheckResultAcceptMetadata
impl Debug for CheckResultAcceptMetadata
impl Copy for CheckResultAcceptMetadata
Auto Trait Implementations§
impl Freeze for CheckResultAcceptMetadata
impl RefUnwindSafe for CheckResultAcceptMetadata
impl Send for CheckResultAcceptMetadata
impl Sync for CheckResultAcceptMetadata
impl Unpin for CheckResultAcceptMetadata
impl UnwindSafe for CheckResultAcceptMetadata
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