struct Murcure::Protos::Reject
- Murcure::Protos::Reject
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant Summary
-
FIELDS =
{1 => {name: :type, pb_type: Reject::RejectType, crystal_type: Reject::RejectType, cast_type: Reject::RejectType?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :reason, 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(type : Reject::RejectType | Nil = nil, reason : String | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #reason : String | Nil
- #reason=(reason : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #type : Reject::RejectType | Nil
- #type=(type : Reject::RejectType | Nil)