struct

Graphene::Serialize::T_vote_id

Inherits Graphene::Serialize::Pack < Comparable < Struct < Value < Object

Constructors

from_graphene_json(json : JSON::Any | Nil, args) : self
Source
new(content : UInt32)
Source
new(value : String)
Source
unpack(io) : self
Source

Instance methods

<=>(other)

=> 实现比较运算。

Source
pack(io)
Source
to_json(json : JSON::Builder) : Nil
Source
to_s

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.

Source
vote_instance_id
Source
vote_type
Source