AMQP10::Protocol::Value
Inherits Struct < Value < Object
Class methods
array(value : List)
Sourcebinary(value : Bytes)
Sourcebool(value : Bool)
Sourcedescribed(descriptor : Value, value : Value)
Sourcedouble(value : Float64 | Float32)
Sourcefloat(value : Float32)
Sourceint(value : Int32 | Int64)
Sourcelist(value : List)
Sourcelong(value : Int64 | Int32)
Sourcemap(value : Map)
Sourcenull
Sourcestring(value : String)
Sourcesymbol(value : String)
Sourcetimestamp(value : Int64)
Sourceubyte(value : UInt8)
Sourceuint(value : UInt32 | UInt64 | Int32 | Int64)
Sourceulong(value : UInt64 | UInt32 | Int32 | Int64)
Sourceushort(value : UInt16)
SourceInstance methods
binary?
Sourcebinary_value
Sourcebool?
Sourcedescribed?
Sourcedescribed_value
Sourcedescriptor_code?
Sourcedouble?
Sourcefloat?
Sourcefloat_value
Sourceinspect(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)"
int?
Sourceint_value
Sourcekind
Sourcelist?
Sourcelist_value
Sourcemap?
Sourcemap_value
Sourcenull?
Sourcestring?
Sourcestring_like?
Sourcestring_value
Sourcesymbol?
Sourcetimestamp?
Sourcetimestamp_value
Sourceuint?
Sourceuint_value
Source