struct Graphene::Serialize::T_vote_id

Included Modules

Defined in:

bitshares-crystal/graphene_serializer.cr

Constructors

Instance Method Summary

Instance methods inherited from module Graphene::Serialize::Pack(Graphene::Serialize::T_vote_id)

pack(io : BinaryIO)
pack
pack
, to_graphene_json(graphene_address_prefix = "") : String to_graphene_json

Class methods inherited from module Graphene::Serialize::Pack(Graphene::Serialize::T_vote_id)

from_graphene_json(data : JSON::Any | Nil, graphene_address_prefix = "") from_graphene_json, unpack(data : Bytes) unpack

Constructor Detail

def self.from_graphene_json(json : JSON::Any | Nil, args) : self #

[View source]
def self.new(content : UInt32) #

[View source]
def self.new(value : String) #

[View source]
def self.unpack(io) : self #

[View source]

Instance Method Detail

def <=>(other) #

=> 实现比较运算。


[View source]
def pack(io) #

[View source]
def to_json(json : JSON::Builder) : Nil #

[View source]
def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def vote_instance_id : UInt32 #

[View source]
def vote_type : UInt8 #

[View source]