SwiftstructJetCore

struct JetCore.SidepackedIntent

Structure

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

Members 11

  1. funcstatic _unwrapData<A where A: AsyncSequence, A == A1.ReturnType, A1: JetCore.IntentModel, A.Element: Sendable>(of: A1) -> A.Element?
  2. funcstatic _unwrapData<A where A == A1.ReturnType, A1: JetCore.IntentModel>(of: A1) -> A?
  3. varstatic var kind: String { get }
  4. fieldlet initialData: A
  5. fieldlet wrappedIntent: any JetCore.IntentModel<Self.IntentModel.ReturnType == A>
  6. initinit(initial: A, resolveUsing: any JetCore.IntentModel<Self.ReturnType == A>) -> JetCore.SidepackedIntent<A>
  7. initJetCore.SidepackedIntent< where A: JetCore.ExpressibleByJSON>.init(deserializing: JetCore.JSONObject, using: JetCore.JSONContext) throws -> JetCore.SidepackedIntent<A>
  8. initJetCore.SidepackedIntent< where A: Decodable>.init(from: Decoder) throws -> JetCore.SidepackedIntent<A>
  9. typealiastypealias ReturnType = A
  10. typealiastypealias StaticKind = Swift.String
  11. varvar _canonicalized: any JetCore.IntentModel<Self.ReturnType == A> { get }
struct SidepackedIntent<A> {
    enum CodingKeys {
        case intent
        case initialData
    }
    let initialData: A
    let wrappedIntent: any JetCore.IntentModel<A>

    init(initial: A, resolveUsing: any JetCore.IntentModel<A>)

    var _canonicalized: any JetCore.IntentModel<A> {
        get
    }

    static var kind: Swift.String {
        get
    }

    static func _unwrapData<A1>(of: A1) -> A.Element? where A: Swift.AsyncSequence, A == A1.ReturnType, A1: JetCore.IntentModel, A.Element: Swift.Sendable
    static func _unwrapData<A1>(of: A1) -> A? where A == A1.ReturnType, A1: JetCore.IntentModel
}