Nats::Ack
Inherits Protobuf::Message < Struct < Value < Object
Constants
FIELDS = {1 => {name: :subject, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :sequence, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
new(buf : Protobuf::Buffer)
new(subject : String | Nil = nil, sequence : UInt64 | Nil = nil)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
sequence
sequence=(sequence : UInt64 | Nil)
subject
subject=(subject : String | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf