Skip to main content

add

Method
This is a method of the GuardrailChain class in the guardrails module.
Add a guardrail to the chain

Signature

def add(mut self, guardrail: impl Guardrail + 'static) -> Self

Parameters

guardrail
impl Guardrail + 'static
required
No description available.

Returns

Returns
Self
The result of the operation.