struct Murcure::Protos::SuggestConfig

Included Modules

Defined in:

murcure/utils/protos.cr

Constant Summary

FIELDS = {1 => {name: :version, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :positional, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :push_to_talk, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, 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(version : UInt32 | Nil = nil, positional : Bool | Nil = nil, push_to_talk : Bool | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def positional : Bool | Nil #

def positional=(positional : Bool | Nil) #

def push_to_talk : Bool | Nil #

def push_to_talk=(push_to_talk : Bool | Nil) #

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

def to_protobuf #

def version : UInt32 | Nil #

def version=(version : UInt32 | Nil) #