Skip to main content

ExtraFields

Type Alias ExtraFields 

Source
pub type ExtraFields = BTreeMap<String, Value>;
Expand description

Catch-all for object fields a struct does not explicitly model.

#[serde(flatten)] this into any record struct: fields the struct names are consumed normally, and everything else lands here where the audit can see it. An empty map means we model the record fully.

Aliased Typeยง

pub struct ExtraFields { /* private fields */ }