Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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.