SwiftstructJetCore
AnyActionTypes
struct JetCore.AnyActionTypes
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolJetCore.JSONTypeCluster
Members 11
- func
static makeInstance(byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) throws -> JetCore.ActionModel - func
static makeInstances(byDeserializing: JetCore.JSONArray, using: JetCore.JSONContext) throws -> [JetCore.ActionModel] - func
static tryToMakeInstance(byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) -> JetCore.ActionModel? - func
static tryToMakeInstances(byDeserializing: JetCore.JSONArray, using: JetCore.JSONContext) -> [JetCore.ActionModel] - field
let registry: JetCore.AnyActionTypes.Registry+0x0 - func
makeInstance(ofKind: String, byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) throws -> JetCore.ActionModel - init
init(types: [String : JetCore.ActionModel & JetCore.ExpressibleByJSON.Type]) -> JetCore.AnyActionTypes - init
init(JetCore.ActionKindTable.Type) -> JetCore.AnyActionTypes - init
init<A where A: Hashable, A: RawRepresentable, A.RawRepresentable.RawValue == String>(JetCore.ActionTypes<A>) -> JetCore.AnyActionTypes - typealias
typealias Base = JetCore.ActionModel - typealias
typealias Kind = Swift.String
Header
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] }