Skip to main content

max

Method
This is a method of the LengthGuardrail class in the guardrails module.
Set maximum length

Signature

def max(mut self, length: usize) -> Self

Parameters

length
usize
required
No description available.

Returns

Returns
Self
The result of the operation.