pub enum GuardrailType {
Cel,
Llm,
}Expand description
Guardrail evaluation type
Variants§
Trait Implementations§
Source§impl Clone for GuardrailType
impl Clone for GuardrailType
Source§fn clone(&self) -> GuardrailType
fn clone(&self) -> GuardrailType
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 GuardrailType
impl Debug for GuardrailType
Source§impl Default for GuardrailType
impl Default for GuardrailType
Source§fn default() -> GuardrailType
fn default() -> GuardrailType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GuardrailType
impl<'de> Deserialize<'de> for GuardrailType
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 GuardrailType
impl PartialEq for GuardrailType
Source§impl Serialize for GuardrailType
impl Serialize for GuardrailType
impl Copy for GuardrailType
impl Eq for GuardrailType
impl StructuralPartialEq for GuardrailType
Auto Trait Implementations§
impl Freeze for GuardrailType
impl RefUnwindSafe for GuardrailType
impl Send for GuardrailType
impl Sync for GuardrailType
impl Unpin for GuardrailType
impl UnsafeUnpin for GuardrailType
impl UnwindSafe for GuardrailType
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