junobuild_collections::store

Function set_rule

Source
pub fn set_rule(
    collection: CollectionKey,
    user_rule: SetRule,
    storage_checks: bool,
    rules: &mut Rules,
) -> Result<Rule, String>