SwiftstructJetCore
SidepackedIntent
struct JetCore.SidepackedIntent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolJetCore.ExpressibleByJSON
- protocolJetCore.IntentModel
- protocolSwift.Decodable
Members 11
- func
static _unwrapData<A where A: AsyncSequence, A == A1.ReturnType, A1: JetCore.IntentModel, A.Element: Sendable>(of: A1) -> A.Element? - func
static _unwrapData<A where A == A1.ReturnType, A1: JetCore.IntentModel>(of: A1) -> A? - var
static var kind: String { get } - field
let initialData: A - field
let wrappedIntent: any JetCore.IntentModel<Self.IntentModel.ReturnType == A> - init
init(initial: A, resolveUsing: any JetCore.IntentModel<Self.ReturnType == A>) -> JetCore.SidepackedIntent<A> - init
JetCore.SidepackedIntent< where A: JetCore.ExpressibleByJSON>.init(deserializing: JetCore.JSONObject, using: JetCore.JSONContext) throws -> JetCore.SidepackedIntent<A> - init
JetCore.SidepackedIntent< where A: Decodable>.init(from: Decoder) throws -> JetCore.SidepackedIntent<A> - typealias
typealias ReturnType = A - typealias
typealias StaticKind = Swift.String - var
var _canonicalized: any JetCore.IntentModel<Self.ReturnType == A> { get }
Header
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 }