SwiftstructJetEngine

struct JetEngine.AnyActionTypes

Structure

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

inherits{}

Members 11

  1. funcstatic makeInstance(byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> JetEngine.ActionModel
  2. funcstatic makeInstances(byDeserializing: JetEngine.JSONArray, using: JetEngine.JSONContext) throws -> [JetEngine.ActionModel]
  3. funcstatic tryToMakeInstance(byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) -> JetEngine.ActionModel?
  4. funcstatic tryToMakeInstances(byDeserializing: JetEngine.JSONArray, using: JetEngine.JSONContext) -> [JetEngine.ActionModel]
  5. fieldlet registry: JetEngine.AnyActionTypes.Registry+0x0
  6. funcmakeInstance(ofKind: String, byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> JetEngine.ActionModel
  7. initinit(types: [String : JetEngine.ActionModel & JetEngine.ExpressibleByJSON.Type]) -> JetEngine.AnyActionTypes
  8. initinit(JetEngine.ActionKindTable.Type) -> JetEngine.AnyActionTypes
  9. initinit<A where A: Hashable, A: RawRepresentable, A.RawRepresentable.RawValue == String>(JetEngine.ActionTypes<A>) -> JetEngine.AnyActionTypes
  10. typealiastypealias Base = JetEngine.ActionModel
  11. typealiastypealias Kind = Swift.String
struct AnyActionTypes {
    enum Registry {
        case types([Swift.String : any (JetEngine.ActionModel & JetEngine.ExpressibleByJSON).Type])
        case kinds(any JetEngine.ActionKindTable.Type)
    }
    let registry: JetEngine.AnyActionTypes.Registry

    init(types: [Swift.String : any (JetEngine.ActionModel & JetEngine.ExpressibleByJSON).Type])
    init(_: any JetEngine.ActionKindTable.Type)
    init<A>(_: JetEngine.ActionTypes<A>) where A: Swift.Hashable, A: Swift.RawRepresentable, A.RawValue == Swift.String

    func makeInstance(ofKind: Swift.String, byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> any JetEngine.ActionModel

    static func makeInstance(byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) throws -> any JetEngine.ActionModel
    static func makeInstances(byDeserializing: JetEngine.JSONArray, using: JetEngine.JSONContext) throws -> [any JetEngine.ActionModel]
    static func tryToMakeInstance(byDeserializing: JetEngine.JSONObject, using: JetEngine.JSONContext) -> (any JetEngine.ActionModel)?
    static func tryToMakeInstances(byDeserializing: JetEngine.JSONArray, using: JetEngine.JSONContext) -> [any JetEngine.ActionModel]
}