pub struct PolicyVerdict {
pub allowed: bool,
pub reason: Option<String>,
}Fields§
§allowed: bool§reason: Option<String>Trait Implementations§
Source§impl Clone for PolicyVerdict
impl Clone for PolicyVerdict
Source§fn clone(&self) -> PolicyVerdict
fn clone(&self) -> PolicyVerdict
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 PolicyVerdict
impl RefUnwindSafe for PolicyVerdict
impl Send for PolicyVerdict
impl Sync for PolicyVerdict
impl Unpin for PolicyVerdict
impl UnsafeUnpin for PolicyVerdict
impl UnwindSafe for PolicyVerdict
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