struct Murcure::Protos::QueryUsers

Included Modules

Defined in:

murcure/utils/protos.cr

Constant Summary

FIELDS = {1 => {name: :ids, pb_type: :uint32, crystal_type: UInt32, cast_type: Array(UInt32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :names, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(ids : Array(UInt32) | Nil = nil, names : Array(String) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def ids : Array(UInt32) | Nil #

def ids=(ids : Array(UInt32) | Nil) #

def names : Array(String) | Nil #

def names=(names : Array(String) | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #