#[repr(transparent)]pub struct APActivationPayloadErrorCode(pub NSInteger);Available on crate feature
APActivationPayload only.Expand description
Error codes that an App Clip activation payload returns.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl APActivationPayloadErrorCode
impl APActivationPayloadErrorCode
Sourcepub const Disallowed: Self
pub const Disallowed: Self
The user denied location access, or the source of the App Clip invocation wasn’t from an NFC tag or visual code.
Sourcepub const DoesNotMatch: Self
pub const DoesNotMatch: Self
The provided URL doesn’t match the registered App Clip URL.
Trait Implementations§
Source§impl Clone for APActivationPayloadErrorCode
impl Clone for APActivationPayloadErrorCode
Source§fn clone(&self) -> APActivationPayloadErrorCode
fn clone(&self) -> APActivationPayloadErrorCode
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 APActivationPayloadErrorCode
impl Debug for APActivationPayloadErrorCode
Source§impl Hash for APActivationPayloadErrorCode
impl Hash for APActivationPayloadErrorCode
Source§impl Ord for APActivationPayloadErrorCode
impl Ord for APActivationPayloadErrorCode
Source§fn cmp(&self, other: &APActivationPayloadErrorCode) -> Ordering
fn cmp(&self, other: &APActivationPayloadErrorCode) -> 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 APActivationPayloadErrorCode
impl PartialEq for APActivationPayloadErrorCode
Source§fn eq(&self, other: &APActivationPayloadErrorCode) -> bool
fn eq(&self, other: &APActivationPayloadErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for APActivationPayloadErrorCode
impl PartialOrd for APActivationPayloadErrorCode
Source§impl RefEncode for APActivationPayloadErrorCode
impl RefEncode for APActivationPayloadErrorCode
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 APActivationPayloadErrorCode
impl Eq for APActivationPayloadErrorCode
impl StructuralPartialEq for APActivationPayloadErrorCode
Auto Trait Implementations§
impl Freeze for APActivationPayloadErrorCode
impl RefUnwindSafe for APActivationPayloadErrorCode
impl Send for APActivationPayloadErrorCode
impl Sync for APActivationPayloadErrorCode
impl Unpin for APActivationPayloadErrorCode
impl UnwindSafe for APActivationPayloadErrorCode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.