struct Murcure::Protos::Version
- Murcure::Protos::Version
- 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: :release, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :os, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :os_version, pb_type: :string, crystal_type: String, cast_type: String?, 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, release : String | Nil = nil, os : String | Nil = nil, os_version : String | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #os : String | Nil
- #os=(os : String | Nil)
- #os_version : String | Nil
- #os_version=(os_version : String | Nil)
- #release : String | Nil
- #release=(release : String | 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, release : String | Nil = nil, os : String | Nil = nil, os_version : String | Nil = nil)
#