pub struct CompiledRule {
pub name: String,
pub program: Arc<Program>,
pub action: GuardrailAction,
pub direction: GuardrailDirection,
pub on_error: GuardrailOnError,
pub reject_message: Option<String>,
}Fields§
§name: String§program: Arc<Program>§action: GuardrailAction§direction: GuardrailDirection§on_error: GuardrailOnError§reject_message: Option<String>Auto Trait Implementations§
impl Freeze for CompiledRule
impl RefUnwindSafe for CompiledRule
impl Send for CompiledRule
impl Sync for CompiledRule
impl Unpin for CompiledRule
impl UnsafeUnpin for CompiledRule
impl UnwindSafe for CompiledRule
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