SwiftstructJetCore

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

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

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

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