Skip to main content

remove_rule

Method
This is a method of the PolicyEngine class in the policy module.
Remove a rule by name.

Signature

def remove_rule(&mut self, name: &str) -> Option<PolicyRule>

Parameters

name
&str
required
No description available.

Returns

Returns
Option<PolicyRule>
The result of the operation.