pub struct Identification {
pub bundle_identifier: String,
pub app_bundle_identifier: Option<String>,
pub companion_app_bundle_identifier: Option<String>,
}Expand description
Identification
Fields§
§bundle_identifier: StringA unique identifier for a bundle.
A bundle ID uniquely identifies a single app throughout the system. The bundle ID string must contain only alphanumeric characters (A-Z, a-z, and 0-9), hyphens (-), and periods (.). The string should be in reverse-DNS format. Bundle IDs are case sensitive.
§Availability
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
§Framework
Core Foundation
app_bundle_identifier: Option<String>The bundle ID of the watchOS app.
This key is automatically included in your WatchKit extension’s information property list when you create a watchOS project from a template.
§Availability
- watchOS 2.0+
§Framework
- WatchKit
companion_app_bundle_identifier: Option<String>The bundle ID of the watchOS app’s companion iOS app.
Xcode automatically includes this key in the WatchKit app’s information property list when you create a watchOS project from a template. The value should be the same as the iOS app’s CFBundleIdentifier.
§Availability
- watchOS 2.0+
§Framework
- WatchKit
Trait Implementations§
Source§impl Clone for Identification
impl Clone for Identification
Source§fn clone(&self) -> Identification
fn clone(&self) -> Identification
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 Identification
impl Debug for Identification
Source§impl Default for Identification
impl Default for Identification
Source§fn default() -> Identification
fn default() -> Identification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Identification
impl<'de> Deserialize<'de> for Identification
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Identification
impl PartialEq for Identification
Source§impl Serialize for Identification
impl Serialize for Identification
impl Eq for Identification
impl StructuralPartialEq for Identification
Auto Trait Implementations§
impl Freeze for Identification
impl RefUnwindSafe for Identification
impl Send for Identification
impl Sync for Identification
impl Unpin for Identification
impl UnwindSafe for Identification
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<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
Compare self to
key and return true if they are equal.