Skip to main content

set_meta

Function set_meta 

Source
pub fn set_meta(
    avatars: &mut Value,
    name: &str,
    field: &str,
    value: Option<&str>,
)
Expand description

Set or clear one metadata field. Clearing removes the key entirely, and an avatar left with no metadata is removed from meta so the file does not accumulate empty objects.