Skip to main content

scoped_rules

Function scoped_rules 

pub fn scoped_rules(
    room: &str,
    rules: &[Rule],
) -> Result<Vec<Rule>, BotRuleError>
Expand description

rules held to room: each node’s room segment, named or any, becomes room.

§Errors

The first rule that names another room, reaches the room resource, or does not allow.