SwiftenumShazamEvents
enum ShazamEvents.CodableResult
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 3
Header
enum CodableResult<A, B> where A: Swift.Decodable, A: Swift.Encodable, B: Swift.Decodable, B: Swift.Encodable, B: Swift.Error { enum CodingKeys { case success case failure } enum SuccessCodingKeys { case _0 } enum FailureCodingKeys { case _0 } case success(A) case failure(B) func get() throws -> A }