SwiftstructWeatherCore

struct WeatherCore.SetPrecipitationUnitIntent

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 10

  1. varstatic var description: AppIntents.IntentDescription { get set }
  2. varstatic var isDiscoverable: Bool { get }
  3. varstatic var parameterSummary: some AppIntents.ParameterSummary { get }
  4. varstatic var supportedModes: AppIntents.IntentModes { get }
  5. varstatic var title: Foundation.LocalizedStringResource { get set }
  6. fieldvar _unit: AppIntents.IntentParameter<WeatherCore.PrecipitationUnit>+0x0
  7. funcperform() async throws -> some AppIntents.IntentResult
  8. initinit() -> WeatherCore.SetPrecipitationUnitIntent
  9. typealiastypealias PerformResult = AppIntents.IntentResultContainer<Swift.Never, Swift.Never, Swift.Never, Swift.Never>
  10. typealiastypealias SummaryContent = AppIntents.IntentParameterSummary<WeatherCore.SetPrecipitationUnitIntent>
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
    }
}