struct Murcure::Protos::SuggestConfig
- Murcure::Protos::SuggestConfig
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant 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
- .new(buf : Protobuf::Buffer)
- .new(version : UInt32 | Nil = nil, positional : Bool | Nil = nil, push_to_talk : Bool | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #positional : Bool | Nil
- #positional=(positional : Bool | Nil)
- #push_to_talk : Bool | Nil
- #push_to_talk=(push_to_talk : Bool | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #version : UInt32 | Nil
- #version=(version : UInt32 | Nil)
Constructor Detail
def self.new(version : UInt32 | Nil = nil, positional : Bool | Nil = nil, push_to_talk : Bool | Nil = nil)
#