pub struct SafetyResult {
pub allowed: bool,
pub blocked: bool,
pub fired_rules: Vec<SafetyRuleId>,
pub human_required: bool,
pub effective_risk: String,
}Fields§
§allowed: bool§blocked: bool§fired_rules: Vec<SafetyRuleId>§human_required: bool§effective_risk: StringTrait Implementations§
Source§impl Clone for SafetyResult
impl Clone for SafetyResult
Source§fn clone(&self) -> SafetyResult
fn clone(&self) -> SafetyResult
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 moreAuto Trait Implementations§
impl Freeze for SafetyResult
impl RefUnwindSafe for SafetyResult
impl Send for SafetyResult
impl Sync for SafetyResult
impl Unpin for SafetyResult
impl UnsafeUnpin for SafetyResult
impl UnwindSafe for SafetyResult
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