struct

JoobQ::Delivery::Record

Inherits JSON::Serializable::Strict < JSON::Serializable < Struct < Value < Object

Constructors

new(id : String, payload : String, digest : String)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

attempt
Source
attempt=(attempt : Int64)
Source
digest
Source
due_at
Source
due_at=(due_at : Int64)
Source
encoded

A capacity hint avoids repeated builder growth for ordinary envelopes. The standard serializer still handles escaping and grows for larger output.

Source
lease_until
Source
lease_until=(lease_until : Int64)
Source
owner
Source
owner=(owner : String | Nil)
Source
payload
Source
schema
Source
state
Source
state=(state : State)
Source
token
Source
token=(token : String | Nil)
Source
traceparent
Source
traceparent=(traceparent : String | Nil)
Source
validate!
Source