pub enum CodeGeneratorResponse_Feature {
FEATURE_NONE,
FEATURE_PROTO3_OPTIONAL,
}
Variants§
Trait Implementations§
source§impl Clone for CodeGeneratorResponse_Feature
impl Clone for CodeGeneratorResponse_Feature
source§fn clone(&self) -> CodeGeneratorResponse_Feature
fn clone(&self) -> CodeGeneratorResponse_Feature
Returns a copy 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 Hash for CodeGeneratorResponse_Feature
impl Hash for CodeGeneratorResponse_Feature
source§impl PartialEq<CodeGeneratorResponse_Feature> for CodeGeneratorResponse_Feature
impl PartialEq<CodeGeneratorResponse_Feature> for CodeGeneratorResponse_Feature
source§fn eq(&self, other: &CodeGeneratorResponse_Feature) -> bool
fn eq(&self, other: &CodeGeneratorResponse_Feature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ProtobufEnum for CodeGeneratorResponse_Feature
impl ProtobufEnum for CodeGeneratorResponse_Feature
source§fn from_i32(value: i32) -> Option<CodeGeneratorResponse_Feature>
fn from_i32(value: i32) -> Option<CodeGeneratorResponse_Feature>
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 CodeGeneratorResponse_Feature
impl ProtobufValue for CodeGeneratorResponse_Feature
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 CodeGeneratorResponse_Feature
impl Eq for CodeGeneratorResponse_Feature
impl StructuralEq for CodeGeneratorResponse_Feature
impl StructuralPartialEq for CodeGeneratorResponse_Feature
Auto Trait Implementations§
impl RefUnwindSafe for CodeGeneratorResponse_Feature
impl Send for CodeGeneratorResponse_Feature
impl Sync for CodeGeneratorResponse_Feature
impl Unpin for CodeGeneratorResponse_Feature
impl UnwindSafe for CodeGeneratorResponse_Feature
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