SwiftstructWeatherCore

struct WeatherCore.AddSavedLocationIntent

Structure

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

Members 14

  1. varstatic var description: AppIntents.IntentDescription { get }
  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 }
  6. fieldvar _geocodeManager: AppIntents.AppDependency<WeatherCore.GeocodeManagerType>+0x8
  7. fieldvar _locationEntityManager: AppIntents.AppDependency<WeatherCore.LocationEntityManagerType>+0x0
  8. fieldvar _placemark: AppIntents.IntentParameter<CLPlacemark>+0x10
  9. funcperform() async throws -> some AppIntents.OpensIntent
  10. initinit() -> WeatherCore.AddSavedLocationIntent
  11. typealiastypealias PerformResult = AppIntents.IntentResultContainer<Swift.Never, Swift.Never, Swift.Never, Swift.Never>
  12. typealiastypealias SummaryContent = AppIntents.IntentParameterSummary<WeatherCore.AddSavedLocationIntent>
  13. varvar $placemark: AppIntents.IntentParameter<CLPlacemark> { get }
  14. varvar placemark: CLPlacemark { get set }
struct AddSavedLocationIntent {
    // synthesized from the backing storage `_locationEntityManager`; the property's own accessors are stripped
    @AppIntents.AppDependency var locationEntityManager: any WeatherCore.LocationEntityManagerType {
        get
        set
    }
    // synthesized from the backing storage `_geocodeManager`; the property's own accessors are stripped
    @AppIntents.AppDependency var geocodeManager: any WeatherCore.GeocodeManagerType {
        get
        set
    }

    init()

    @AppIntents.IntentParameter var placemark: __C.CLPlacemark {
        get
        set
    }

    func perform() async throws -> some AppIntents.OpensIntent

    static var description: AppIntents.IntentDescription {
        get
    }
    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
    }
}