Skip to main content

with_metadata

Method
This is a method of the GuardrailResult class in the guardrails module.
Add metadata

Signature

def with_metadata(mut self, key: impl Into<String>, value: impl Into<String>) -> Self

Parameters

key
impl Into<String>
required
No description available.
value
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.