Skip to main content

get_rule

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

Signature

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

Parameters

name
&str
required
No description available.

Returns

Returns
Option<&PolicyRule>
The result of the operation.