Skip to main content

pair_missing_with_removals

Function pair_missing_with_removals 

Source
pub fn pair_missing_with_removals(
    missing: &[Identifier],
    removals: &BTreeMap<Identifier, ContractDocumentRemovalEntry>,
) -> Result<Vec<ContractDocumentRemovalEntry>, Error>
Expand description

The records of the joined ids missing that have no document, in their order, from removals. Each must have a record that stands, unrestored: a restored record describes a document that is live again. An id without one means the target left state without a moderator’s recorded removal, which a moderatedDocument target can not, so it is refused.