pub enum GuardrailOnError {
Allow,
Block,
}Expand description
Behavior when guardrail evaluation errors
Variants§
Trait Implementations§
Source§impl Clone for GuardrailOnError
impl Clone for GuardrailOnError
Source§fn clone(&self) -> GuardrailOnError
fn clone(&self) -> GuardrailOnError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuardrailOnError
impl Debug for GuardrailOnError
Source§impl Default for GuardrailOnError
impl Default for GuardrailOnError
Source§fn default() -> GuardrailOnError
fn default() -> GuardrailOnError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GuardrailOnError
impl<'de> Deserialize<'de> for GuardrailOnError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GuardrailOnError
impl PartialEq for GuardrailOnError
Source§impl Serialize for GuardrailOnError
impl Serialize for GuardrailOnError
impl Copy for GuardrailOnError
impl Eq for GuardrailOnError
impl StructuralPartialEq for GuardrailOnError
Auto Trait Implementations§
impl Freeze for GuardrailOnError
impl RefUnwindSafe for GuardrailOnError
impl Send for GuardrailOnError
impl Sync for GuardrailOnError
impl Unpin for GuardrailOnError
impl UnsafeUnpin for GuardrailOnError
impl UnwindSafe for GuardrailOnError
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