Given the struct:
#[derive(Debug, Serialize)] pub struct ReqMetrics { start: Timespec, pub name: String }
How can I ensure that Serde ignores the field start when serializing?
start
The correct annotation is #[serde(skip_serializing)].
#[serde(skip_serializing)]