SwiftstructJetEngine

struct JetEngine.ActionTypes

Structure

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

inherits{}

Members 6

  1. fieldlet _types: os.OSAllocatedUnfairLock<[A : JetEngine.ActionModel & JetEngine.ExpressibleByJSON.Type]>
  2. funcmakeInstance(ofKind: A, byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> JetEngine.ActionModel
  3. funcregistering(_: JetEngine.ActionModel & JetEngine.ExpressibleByJSON.Type, toKind: A) -> JetEngine.ActionTypes<A>
  4. initinit() -> JetEngine.ActionTypes<A>
  5. typealiastypealias Base = JetEngine.ActionModel
  6. typealiastypealias Kind = A
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
}