#[derive(Encode)]Expand description
Derive the Encode trait for a struct with named fields.
Generates a conduit_core::Encode implementation that encodes each
field in declaration order by delegating to the field type’s own
Encode impl.
§Example
ⓘ
use conduit_derive::Encode;
#[derive(Encode)]
struct MarketTick {
timestamp: i64,
price: f64,
volume: f64,
side: u8,
}