pub fn kept_value_at(
kept_paths: &BTreeSet<String>,
kept_values: &BTreeMap<String, Value>,
property: &str,
) -> Option<Option<Value>>Expand description
What a removal record says of property, from the paths its document type keeps
(kept_paths, its moderatorAbilities.deleteKeepsFields) and the values the record keeps
(kept_values, ContractDocumentRemoval::kept_values): None when the record does not
keep it, neither kept itself nor inside a kept object; otherwise the value, Some(None)
when the document held none there. Kept paths never nest, so at most one covers it.