pub enum Guardrails {
Default,
PermissiveContentTransformations,
}Expand description
One of the public system-model guardrail configurations.
Variants§
Default
The SDK default guardrail policy.
PermissiveContentTransformations
A looser policy for content transformation tasks.
Trait Implementations§
Source§impl Clone for Guardrails
impl Clone for Guardrails
Source§fn clone(&self) -> Guardrails
fn clone(&self) -> Guardrails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Guardrails
Source§impl Debug for Guardrails
impl Debug for Guardrails
impl Eq for Guardrails
Source§impl PartialEq for Guardrails
impl PartialEq for Guardrails
Source§fn eq(&self, other: &Guardrails) -> bool
fn eq(&self, other: &Guardrails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Guardrails
Auto Trait Implementations§
impl Freeze for Guardrails
impl RefUnwindSafe for Guardrails
impl Send for Guardrails
impl Sync for Guardrails
impl Unpin for Guardrails
impl UnsafeUnpin for Guardrails
impl UnwindSafe for Guardrails
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more