len • Rust AI Agent SDK

len: Get guardrail count

len

Method

</div>

This is a method of the GuardrailChain class in the guardrails module.

Get guardrail count

Signature

python
def len(&self) -> usize

Returns

ResponseField usize

The result of the operation.