pub enum SafetyOverride {
Inherit,
FullAuto,
DangerouslyBypass,
}Expand description
Safety overrides that collapse approval/sandbox behavior.
Variants§
Trait Implementations§
Source§impl Clone for SafetyOverride
impl Clone for SafetyOverride
Source§fn clone(&self) -> SafetyOverride
fn clone(&self) -> SafetyOverride
Returns a duplicate of the value. Read more
1.0.0 · 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 SafetyOverride
impl Debug for SafetyOverride
Source§impl Default for SafetyOverride
impl Default for SafetyOverride
Source§fn default() -> SafetyOverride
fn default() -> SafetyOverride
Returns the “default value” for a type. Read more
Source§impl PartialEq for SafetyOverride
impl PartialEq for SafetyOverride
impl Copy for SafetyOverride
impl Eq for SafetyOverride
impl StructuralPartialEq for SafetyOverride
Auto Trait Implementations§
impl Freeze for SafetyOverride
impl RefUnwindSafe for SafetyOverride
impl Send for SafetyOverride
impl Sync for SafetyOverride
impl Unpin for SafetyOverride
impl UnsafeUnpin for SafetyOverride
impl UnwindSafe for SafetyOverride
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.