struct Murcure::Protos::Reject

Included Modules

Defined in:

murcure/utils/protos.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(type : Reject::RejectType | Nil = nil, reason : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def reason : String | Nil #

def reason=(reason : String | Nil) #

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

def to_protobuf #

def type : Reject::RejectType | Nil #

def type=(type : Reject::RejectType | Nil) #