pub enum GuardrailVerdict {
Allow,
Block {
rule_name: String,
reject_message: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for GuardrailVerdict
impl Clone for GuardrailVerdict
Source§fn clone(&self) -> GuardrailVerdict
fn clone(&self) -> GuardrailVerdict
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 GuardrailVerdict
impl Debug for GuardrailVerdict
Source§impl PartialEq for GuardrailVerdict
impl PartialEq for GuardrailVerdict
impl Eq for GuardrailVerdict
impl StructuralPartialEq for GuardrailVerdict
Auto Trait Implementations§
impl Freeze for GuardrailVerdict
impl RefUnwindSafe for GuardrailVerdict
impl Send for GuardrailVerdict
impl Sync for GuardrailVerdict
impl Unpin for GuardrailVerdict
impl UnsafeUnpin for GuardrailVerdict
impl UnwindSafe for GuardrailVerdict
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