pub struct ExtensionsAndServices {
pub extension: Option<Extension>,
pub services: Option<Vec<Service>>,
pub extension_delegate_class_name: Option<String>,
pub application_shortcut_widget: Option<String>,
}Expand description
Extensions and Services
Fields§
§extension: Option<Extension>§services: Option<Vec<Service>>§extension_delegate_class_name: Option<String>The name of your watchOS app’s extension delegate.
This key provides the name of a class that adopts the WKExtensionDelegate protocol. Xcode automatically includes this key in the WatchKit extension’s information property list when you create a watchOS project from a template. You only modify this value when you rename or replace the extension delegate.
§Availability
- watchOS 2.0+
§Framework
- WatchKit
application_shortcut_widget: Option<String>The bundle ID of the widget that’s available as a Home screen quick action in apps that have more than one widget.
§Availability
- iOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
§Framework
- UIKit
Trait Implementations§
Source§impl Clone for ExtensionsAndServices
impl Clone for ExtensionsAndServices
Source§fn clone(&self) -> ExtensionsAndServices
fn clone(&self) -> ExtensionsAndServices
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 ExtensionsAndServices
impl Debug for ExtensionsAndServices
Source§impl Default for ExtensionsAndServices
impl Default for ExtensionsAndServices
Source§fn default() -> ExtensionsAndServices
fn default() -> ExtensionsAndServices
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtensionsAndServices
impl<'de> Deserialize<'de> for ExtensionsAndServices
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 ExtensionsAndServices
impl PartialEq for ExtensionsAndServices
Source§impl Serialize for ExtensionsAndServices
impl Serialize for ExtensionsAndServices
impl StructuralPartialEq for ExtensionsAndServices
Auto Trait Implementations§
impl Freeze for ExtensionsAndServices
impl RefUnwindSafe for ExtensionsAndServices
impl Send for ExtensionsAndServices
impl Sync for ExtensionsAndServices
impl Unpin for ExtensionsAndServices
impl UnwindSafe for ExtensionsAndServices
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