pub struct ModeApprover {
pub mode: PermissionMode,
}Expand description
Answers from the configured PermissionMode without asking anyone.
Fields§
§mode: PermissionModeTrait Implementations§
Source§impl Approver for ModeApprover
impl Approver for ModeApprover
Auto Trait Implementations§
impl Freeze for ModeApprover
impl RefUnwindSafe for ModeApprover
impl Send for ModeApprover
impl Sync for ModeApprover
impl Unpin for ModeApprover
impl UnsafeUnpin for ModeApprover
impl UnwindSafe for ModeApprover
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