pub enum PermitDecisionV1 {
Allow,
Deny(String),
RequiresApproval,
}Variants§
Trait Implementations§
Source§impl Clone for PermitDecisionV1
impl Clone for PermitDecisionV1
Source§fn clone(&self) -> PermitDecisionV1
fn clone(&self) -> PermitDecisionV1
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 PermitDecisionV1
impl Debug for PermitDecisionV1
impl Eq for PermitDecisionV1
Source§impl PartialEq for PermitDecisionV1
impl PartialEq for PermitDecisionV1
Source§fn eq(&self, other: &PermitDecisionV1) -> bool
fn eq(&self, other: &PermitDecisionV1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PermitDecisionV1
Auto Trait Implementations§
impl Freeze for PermitDecisionV1
impl RefUnwindSafe for PermitDecisionV1
impl Send for PermitDecisionV1
impl Sync for PermitDecisionV1
impl Unpin for PermitDecisionV1
impl UnsafeUnpin for PermitDecisionV1
impl UnwindSafe for PermitDecisionV1
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