SwiftstructWeatherCore
SetPrecipitationUnitIntent
struct WeatherCore.SetPrecipitationUnitIntent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolAppIntents.AppIntent
Members 10
- var
static var description: AppIntents.IntentDescription { get set } - var
static var isDiscoverable: Bool { get } - var
static var parameterSummary: some AppIntents.ParameterSummary { get } - var
static var supportedModes: AppIntents.IntentModes { get } - var
static var title: Foundation.LocalizedStringResource { get set } - field
var _unit: AppIntents.IntentParameter<WeatherCore.PrecipitationUnit>+0x0 - func
perform() async throws -> some AppIntents.IntentResult - init
init() -> WeatherCore.SetPrecipitationUnitIntent - typealias
typealias PerformResult = AppIntents.IntentResultContainer<Swift.Never, Swift.Never, Swift.Never, Swift.Never> - typealias
typealias SummaryContent = AppIntents.IntentParameterSummary<WeatherCore.SetPrecipitationUnitIntent>
Header
struct SetPrecipitationUnitIntent { // synthesized from the backing storage `_unit`; the property's own accessors are stripped @AppIntents.IntentParameter var unit: WeatherCore.PrecipitationUnit { get set } init() func perform() async throws -> some AppIntents.IntentResult static var description: AppIntents.IntentDescription { get set } static var isDiscoverable: Swift.Bool { get } static var parameterSummary: some AppIntents.ParameterSummary { get } static var supportedModes: AppIntents.IntentModes { get } static var title: Foundation.LocalizedStringResource { get set } }