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