#[derive(RecordEncode)]
{
// Attributes available to this derive:
#[record]
#[serde]
}
Expand description
#[derive(RecordEncode)] — the encode-side mirror of RecordDecode:
generates ToGrpcRecord (see the module docs for the attribute reference).
The serde attribute namespace is registered here too — unlike
RecordDecode, these DTOs are write-only and typically have no serde
derive to register it.