Enum protobuf::well_known_types::NullValue
source · pub enum NullValue {
NULL_VALUE,
}
Variants§
NULL_VALUE
Trait Implementations§
source§impl PartialEq<NullValue> for NullValue
impl PartialEq<NullValue> for NullValue
source§impl ProtobufEnum for NullValue
impl ProtobufEnum for NullValue
source§fn from_i32(value: i32) -> Option<NullValue>
fn from_i32(value: i32) -> Option<NullValue>
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 NullValue
impl ProtobufValue for NullValue
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 Copy for NullValue
impl Eq for NullValue
impl StructuralEq for NullValue
impl StructuralPartialEq for NullValue
Auto Trait Implementations§
impl RefUnwindSafe for NullValue
impl Send for NullValue
impl Sync for NullValue
impl Unpin for NullValue
impl UnwindSafe for NullValue
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