struct

AMQP10::Protocol::Value

Inherits Struct < Value < Object

Class methods

array(value : List)
Source
binary(value : Bytes)
Source
bool(value : Bool)
Source
described(descriptor : Value, value : Value)
Source
double(value : Float64 | Float32)
Source
float(value : Float32)
Source
int(value : Int32 | Int64)
Source
list(value : List)
Source
long(value : Int64 | Int32)
Source
map(value : Map)
Source
null
Source
string(value : String)
Source
symbol(value : String)
Source
timestamp(value : Int64)
Source
ubyte(value : UInt8)
Source
uint(value : UInt32 | UInt64 | Int32 | Int64)
Source
ulong(value : UInt64 | UInt32 | Int32 | Int64)
Source
ushort(value : UInt16)
Source

Instance methods

binary?
Source
binary_value
Source
bool?
Source
described?
Source
described_value
Source
descriptor_code?
Source
double?
Source
float?
Source
float_value
Source
inspect(io : IO) : Nil

Appends this struct's name and instance variables names and values to the given IO.

struct Point
  def initialize(@x : Int32, @y : Int32)
  end
end

p1 = Point.new 1, 2
p1.to_s    # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"
Source
int?
Source
int_value
Source
kind
Source
list?
Source
list_value
Source
map?
Source
map_value
Source
null?
Source
string?
Source
string_like?
Source
string_value
Source
symbol?
Source
timestamp?
Source
timestamp_value
Source
uint?
Source
uint_value
Source

Nested types