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§impl Debug for VerificationMetadata
impl Debug for VerificationMetadata
impl Eq for VerificationMetadata
Source§impl PartialEq for VerificationMetadata
impl PartialEq for VerificationMetadata
impl StructuralPartialEq for VerificationMetadata
Auto Trait Implementations§
impl Forget for VerificationMetadata
impl Freeze for VerificationMetadata
impl Move for VerificationMetadata
impl RefUnwindSafe for VerificationMetadata
impl Send for VerificationMetadatawhere
RawVecInner: Send,
impl Sync for VerificationMetadatawhere
RawVecInner: Sync,
impl Unpin for VerificationMetadata
impl UnsafeUnpin for VerificationMetadata
impl UnwindSafe for VerificationMetadatawhere
RawVecInner: UnwindSafe,
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