#[derive(Deserialize)]
{
// Attributes available to this derive:
#[serde]
}
Available on crate feature
derive only.Expand description
Derive macro that generates a custom impl serde::Deserialize<'de> for named structs.
§Remarks
Unlike serde’s default derive, this macro produces a deserialize_in_place() method that only updates fields
present in the deserializer’s map, leaving absent fields at their current values.