Struct objc2_store_kit::SKErrorCode
source · #[repr(transparent)]pub struct SKErrorCode(pub NSInteger);Available on crate feature
SKError only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl SKErrorCode
impl SKErrorCode
pub const SKErrorUnknown: Self = _
pub const SKErrorClientInvalid: Self = _
pub const SKErrorPaymentCancelled: Self = _
pub const SKErrorPaymentInvalid: Self = _
pub const SKErrorPaymentNotAllowed: Self = _
pub const SKErrorStoreProductNotAvailable: Self = _
pub const SKErrorCloudServicePermissionDenied: Self = _
pub const SKErrorCloudServiceNetworkConnectionFailed: Self = _
pub const SKErrorCloudServiceRevoked: Self = _
pub const SKErrorPrivacyAcknowledgementRequired: Self = _
pub const SKErrorInvalidOfferIdentifier: Self = _
pub const SKErrorInvalidSignature: Self = _
pub const SKErrorMissingOfferParams: Self = _
pub const SKErrorInvalidOfferPrice: Self = _
pub const SKErrorOverlayCancelled: Self = _
pub const SKErrorOverlayInvalidConfiguration: Self = _
pub const SKErrorOverlayTimeout: Self = _
pub const SKErrorIneligibleForOffer: Self = _
pub const SKErrorUnsupportedPlatform: Self = _
pub const SKErrorOverlayPresentedInBackgroundScene: Self = _
Trait Implementations§
source§impl Clone for SKErrorCode
impl Clone for SKErrorCode
source§fn clone(&self) -> SKErrorCode
fn clone(&self) -> SKErrorCode
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 SKErrorCode
impl Debug for SKErrorCode
source§impl Encode for SKErrorCode
impl Encode for SKErrorCode
source§impl Hash for SKErrorCode
impl Hash for SKErrorCode
source§impl Ord for SKErrorCode
impl Ord for SKErrorCode
source§fn cmp(&self, other: &SKErrorCode) -> Ordering
fn cmp(&self, other: &SKErrorCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SKErrorCode
impl PartialEq for SKErrorCode
source§fn eq(&self, other: &SKErrorCode) -> bool
fn eq(&self, other: &SKErrorCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SKErrorCode
impl PartialOrd for SKErrorCode
source§fn partial_cmp(&self, other: &SKErrorCode) -> Option<Ordering>
fn partial_cmp(&self, other: &SKErrorCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl RefEncode for SKErrorCode
impl RefEncode for SKErrorCode
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for SKErrorCode
impl Eq for SKErrorCode
impl StructuralPartialEq for SKErrorCode
Auto Trait Implementations§
impl Freeze for SKErrorCode
impl RefUnwindSafe for SKErrorCode
impl Send for SKErrorCode
impl Sync for SKErrorCode
impl Unpin for SKErrorCode
impl UnwindSafe for SKErrorCode
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.