Skip to main content

apply_fields

Function apply_fields 

Source
pub fn apply_fields(
    obj: &mut Map<String, Value>,
    keep: Option<&HashSet<String>>,
)
Expand description

Apply a sparse-field filter in place. meta and id are always preserved so consumers can still walk the response.