pub enum LevelFormat {
LEVEL_FORMAT_UNSPECIFIED = 0,
AS_DEFINED = 1,
CEL = 2,
}Variants§
Trait Implementations§
Source§impl Clone for LevelFormat
impl Clone for LevelFormat
Source§fn clone(&self) -> LevelFormat
fn clone(&self) -> LevelFormat
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 moreimpl Copy for LevelFormat
Source§impl Debug for LevelFormat
impl Debug for LevelFormat
Source§impl Default for LevelFormat
impl Default for LevelFormat
impl Eq for LevelFormat
Source§impl Hash for LevelFormat
impl Hash for LevelFormat
Source§impl PartialEq for LevelFormat
impl PartialEq for LevelFormat
Source§fn eq(&self, other: &LevelFormat) -> bool
fn eq(&self, other: &LevelFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ProtobufEnum for LevelFormat
impl ProtobufEnum for LevelFormat
Source§fn from_i32(value: i32) -> Option<LevelFormat>
fn from_i32(value: i32) -> Option<LevelFormat>
Try to create an enum from
i32 value.
Return None if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for LevelFormat
impl ProtobufValue for LevelFormat
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl StructuralPartialEq for LevelFormat
Auto Trait Implementations§
impl Freeze for LevelFormat
impl RefUnwindSafe for LevelFormat
impl Send for LevelFormat
impl Sync for LevelFormat
impl Unpin for LevelFormat
impl UnsafeUnpin for LevelFormat
impl UnwindSafe for LevelFormat
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