EventBody

@safe
struct EventBody {
enum int eva_altitude;
@label("$p")
@optional
@filter(q{!a.empty})
Document payload;
@label("$m")
@optional
@filter.Initialized
Buffer mother;
@label("$f")
@optional
@filter.Initialized
Buffer father;
@label("$a")
int altitude;
@label(StdNames.time)
sdt_t time;
}

Mixed In Members

From mixin HiBONRecord!(q{ this( Document payload, const Event mother, const Event father, lazy const sdt_t time) inout pure { this.time = time; this.mother = (mother is null)?null:mother.fingerprint; this.father = (father is null)?null:father.fingerprint; this.payload = payload; this.altitude = mother.nextAltitude; consensus(); } package this( Document payload, const Buffer mother_fingerprint, const Buffer father_fingerprint, const int altitude, lazy const sdt_t time) inout pure { this.time = time; this.mother = mother_fingerprint; this.father = father_fingerprint; this.payload = payload; this.altitude = altitude; consensus(); } })

recordName
string recordName()

Get the record type name set by @recordType("name")