SwiftstructSearchOnDeviceAnalytics

struct SwiftAvro.AvroPrimitive

Structure

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

Members 14

  1. funcstatic __derived_struct_equals(SwiftAvro.AvroPrimitive, SwiftAvro.AvroPrimitive) -> Bool
  2. funcstatic boolean(Bool) -> SwiftAvro.AvroPrimitive
  3. funcstatic bytes(Foundation.Data) -> SwiftAvro.AvroPrimitive
  4. funcstatic bytes([UInt8]) -> SwiftAvro.AvroPrimitive
  5. funcstatic bytes(SwiftAvro.ByteBuffer) -> SwiftAvro.AvroPrimitive
  6. funcstatic double(Double) -> SwiftAvro.AvroPrimitive
  7. funcstatic float(Float) -> SwiftAvro.AvroPrimitive
  8. funcstatic int(Int32) -> SwiftAvro.AvroPrimitive
  9. funcstatic long(Int64) -> SwiftAvro.AvroPrimitive
  10. funcstatic string(String) -> SwiftAvro.AvroPrimitive
  11. varstatic var null: SwiftAvro.AvroPrimitive { get }
  12. fieldvar wrapped: SwiftAvro.AvroPrimitive.Value+0x0
  13. funcget<A>() -> A?
  14. varvar description: String { get }
struct AvroPrimitive {
    enum Value {
        case boolean(Swift.Bool)
        case int(Swift.Int32)
        case long(Swift.Int64)
        case float(Swift.Float)
        case double(Swift.Double)
        case string(Swift.String)
        case bytes(SwiftAvro.AvroPrimitive.SomeBytes)
        case null
    }
    enum SomeBytes {
        case array([Swift.UInt8])
        case byteBuffer(SwiftAvro.ByteBuffer)
        case data(Foundation.Data)
    }
    var wrapped: SwiftAvro.AvroPrimitive.Value

    var description: Swift.String {
        get
    }

    func get<A>() -> A?

    static let null: SwiftAvro.AvroPrimitive

    static func __derived_struct_equals(_: SwiftAvro.AvroPrimitive, _: SwiftAvro.AvroPrimitive) -> Swift.Bool
    static func int(_: Swift.Int32) -> SwiftAvro.AvroPrimitive
    static func long(_: Swift.Int64) -> SwiftAvro.AvroPrimitive
    static func bytes(_: Foundation.Data) -> SwiftAvro.AvroPrimitive
    static func bytes(_: [Swift.UInt8]) -> SwiftAvro.AvroPrimitive
    static func bytes(_: SwiftAvro.ByteBuffer) -> SwiftAvro.AvroPrimitive
    static func float(_: Swift.Float) -> SwiftAvro.AvroPrimitive
    static func double(_: Swift.Double) -> SwiftAvro.AvroPrimitive
    static func string(_: Swift.String) -> SwiftAvro.AvroPrimitive
    static func boolean(_: Swift.Bool) -> SwiftAvro.AvroPrimitive
}