pub struct VerificationMetadata {
pub jws_representation: String,
pub header_data: Vec<u8>,
pub payload_data: Vec<u8>,
pub signature_data: Vec<u8>,
pub signed_data: Vec<u8>,
pub signed_date: String,
pub device_verification: Vec<u8>,
pub device_verification_nonce: String,
}Expand description
Carries metadata returned alongside StoreKit.VerificationResult.
Fields§
§jws_representation: StringStoreKit-provided jws_representation value.
header_data: Vec<u8>Decoded JWS header bytes returned by StoreKit.
payload_data: Vec<u8>Decoded JWS payload bytes returned by StoreKit.
signature_data: Vec<u8>Decoded JWS signature bytes returned by StoreKit.
signed_data: Vec<u8>Decoded signed-data bytes returned by StoreKit.
signed_date: StringSignature timestamp reported by StoreKit.
device_verification: Vec<u8>Decoded device-verification bytes returned by StoreKit.
device_verification_nonce: StringDevice verification nonce reported by StoreKit.
Implementations§
Source§impl VerificationMetadata
impl VerificationMetadata
Sourcepub fn jws_representation(&self) -> &str
pub fn jws_representation(&self) -> &str
Returns the compact JWS representation returned by StoreKit.
Trait Implementations§
Source§impl Clone for VerificationMetadata
impl Clone for VerificationMetadata
Source§fn clone(&self) -> VerificationMetadata
fn clone(&self) -> VerificationMetadata
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 VerificationMetadata
impl Debug for VerificationMetadata
Source§impl PartialEq for VerificationMetadata
impl PartialEq for VerificationMetadata
Source§fn eq(&self, other: &VerificationMetadata) -> bool
fn eq(&self, other: &VerificationMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VerificationMetadata
impl StructuralPartialEq for VerificationMetadata
Auto Trait Implementations§
impl Freeze for VerificationMetadata
impl RefUnwindSafe for VerificationMetadata
impl Send for VerificationMetadata
impl Sync for VerificationMetadata
impl Unpin for VerificationMetadata
impl UnsafeUnpin for VerificationMetadata
impl UnwindSafe for VerificationMetadata
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