SwiftstructJetEngine
struct JetEngine.ActionTypes
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolJetEngine.JSONTypeCluster
Members 6
- field
let _types: os.OSAllocatedUnfairLock<[A : JetEngine.ActionModel & JetEngine.ExpressibleByJSON.Type]> - func
makeInstance(ofKind: A, byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> JetEngine.ActionModel - func
registering(_: JetEngine.ActionModel & JetEngine.ExpressibleByJSON.Type, toKind: A) -> JetEngine.ActionTypes<A> - init
init() -> JetEngine.ActionTypes<A> - typealias
typealias Base = JetEngine.ActionModel - typealias
typealias Kind = A
Header
struct ActionTypes<A> where A: Swift.Hashable, A: Swift.RawRepresentable, A.RawValue == Swift.String { let _types: os.OSAllocatedUnfairLock<[A : any (JetEngine.ActionModel & JetEngine.ExpressibleByJSON).Type]> init() func registering(_: any (JetEngine.ActionModel & JetEngine.ExpressibleByJSON).Type, toKind: A) -> JetEngine.ActionTypes<A> func makeInstance(ofKind: A, byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> any JetEngine.ActionModel }