pub enum SafetyCheckLevel {
Strict,
PromptAlways,
PromptTemporarily,
}
Variants
Trait Implementations
sourceimpl Clone for SafetyCheckLevel
impl Clone for SafetyCheckLevel
sourcefn clone(&self) -> SafetyCheckLevel
fn clone(&self) -> SafetyCheckLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SafetyCheckLevel
impl Debug for SafetyCheckLevel
sourceimpl Default for SafetyCheckLevel
impl Default for SafetyCheckLevel
sourceimpl Hash for SafetyCheckLevel
impl Hash for SafetyCheckLevel
sourceimpl PartialEq<SafetyCheckLevel> for SafetyCheckLevel
impl PartialEq<SafetyCheckLevel> for SafetyCheckLevel
sourcefn eq(&self, other: &SafetyCheckLevel) -> bool
fn eq(&self, other: &SafetyCheckLevel) -> bool
sourceimpl ProtobufEnum for SafetyCheckLevel
impl ProtobufEnum for SafetyCheckLevel
sourcefn from_i32(value: i32) -> Option<SafetyCheckLevel>
fn from_i32(value: i32) -> Option<SafetyCheckLevel>
sourcefn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
sourcefn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
sourcefn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
sourceimpl ProtobufValue for SafetyCheckLevel
impl ProtobufValue for SafetyCheckLevel
sourcefn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
sourcefn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
sourcefn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for SafetyCheckLevel
impl Eq for SafetyCheckLevel
impl StructuralEq for SafetyCheckLevel
impl StructuralPartialEq for SafetyCheckLevel
Auto Trait Implementations
impl RefUnwindSafe for SafetyCheckLevel
impl Send for SafetyCheckLevel
impl Sync for SafetyCheckLevel
impl Unpin for SafetyCheckLevel
impl UnwindSafe for SafetyCheckLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more