pub struct Wallet {
pub pass_type_ids: Option<Vec<String>>,
pub merchant_ids: Option<Vec<String>>,
}Expand description
Wallet
Fields§
§pass_type_ids: Option<Vec<String>>A list of identifiers that specify pass types that your app can access in Wallet.
The value for this key is an array of pass type identifiers.
To add this entitlement to your app, enable the Wallet capability in Xcode. If your provisioning profile is associated with multiple pass type identifiers, specify which of the identifiers your app can interact with. Use $(TeamIdentifierPrefix)* to access all of the passes for your team.
For more information, see Configure Wallet (iOS, watchOS).
§Note
The Wallet capability isn’t available to app clips. For information on functionality that’s available to app clips, see Choosing the Right Functionality for Your App Clip.
§Availability
- iOS 6.0+
- watchOS 2.0+
§Framework
- PassKit (Apple Pay and Wallet)
merchant_ids: Option<Vec<String>>A list of merchant IDs your app uses for Apple Pay support.
The value for this key is an array of strings containing the merchant IDs—typically in reverse domain name notation, starting with the string ‘merchant’.
To add this entitlement, enable the Apple Pay capability in Xcode and select the merchant IDs you want to use in your app. Alternatively, see Setting Up Apple Pay Requirements for how to create merchant IDs in your developer account.
§Availability
- iOS 6.0+
- watchOS 2.0+
§Framework
- PassKit (Apple Pay and Wallet)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wallet
impl<'de> Deserialize<'de> for Wallet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Wallet
impl StructuralPartialEq for Wallet
Auto Trait Implementations§
impl Freeze for Wallet
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnwindSafe for Wallet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.