pub struct GuardEvaluation { /* private fields */ }Expand description
Guard decision plus any evidence cassette recorded for a refusal.
Implementations§
Source§impl GuardEvaluation
impl GuardEvaluation
Sourcepub fn decision(&self) -> &GuardDecision
pub fn decision(&self) -> &GuardDecision
Returns the guard decision.
Sourcepub fn cassette(&self) -> Option<&DevCassette>
pub fn cassette(&self) -> Option<&DevCassette>
Returns the evidence cassette recorded for a refusal, if any.
Trait Implementations§
Source§impl Clone for GuardEvaluation
impl Clone for GuardEvaluation
Source§fn clone(&self) -> GuardEvaluation
fn clone(&self) -> GuardEvaluation
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 moreSource§impl Debug for GuardEvaluation
impl Debug for GuardEvaluation
impl Eq for GuardEvaluation
Source§impl PartialEq for GuardEvaluation
impl PartialEq for GuardEvaluation
Source§fn eq(&self, other: &GuardEvaluation) -> bool
fn eq(&self, other: &GuardEvaluation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GuardEvaluation
Auto Trait Implementations§
impl Freeze for GuardEvaluation
impl RefUnwindSafe for GuardEvaluation
impl Send for GuardEvaluation
impl Sync for GuardEvaluation
impl Unpin for GuardEvaluation
impl UnsafeUnpin for GuardEvaluation
impl UnwindSafe for GuardEvaluation
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