pub enum FieldDescriptorProto_Label {
LABEL_OPTIONAL,
LABEL_REQUIRED,
LABEL_REPEATED,
}
Variants
LABEL_OPTIONAL
LABEL_REQUIRED
LABEL_REPEATED
Trait Implementations
sourceimpl Clone for FieldDescriptorProto_Label
impl Clone for FieldDescriptorProto_Label
sourcefn clone(&self) -> FieldDescriptorProto_Label
fn clone(&self) -> FieldDescriptorProto_Label
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 FieldDescriptorProto_Label
impl Debug for FieldDescriptorProto_Label
sourceimpl Default for FieldDescriptorProto_Label
impl Default for FieldDescriptorProto_Label
sourceimpl<'de> Deserialize<'de> for FieldDescriptorProto_Label
impl<'de> Deserialize<'de> for FieldDescriptorProto_Label
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for FieldDescriptorProto_Label
impl Hash for FieldDescriptorProto_Label
sourceimpl PartialEq<FieldDescriptorProto_Label> for FieldDescriptorProto_Label
impl PartialEq<FieldDescriptorProto_Label> for FieldDescriptorProto_Label
sourcefn eq(&self, other: &FieldDescriptorProto_Label) -> bool
fn eq(&self, other: &FieldDescriptorProto_Label) -> bool
sourceimpl ProtobufEnum for FieldDescriptorProto_Label
impl ProtobufEnum for FieldDescriptorProto_Label
sourcefn from_i32(value: i32) -> Option<FieldDescriptorProto_Label>
fn from_i32(value: i32) -> Option<FieldDescriptorProto_Label>
sourcefn values() -> &'static [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
fn values() -> &'static [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
Get all enum values for enum type.
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 FieldDescriptorProto_Label
impl ProtobufValue for FieldDescriptorProto_Label
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 FieldDescriptorProto_Label
impl Eq for FieldDescriptorProto_Label
impl StructuralEq for FieldDescriptorProto_Label
impl StructuralPartialEq for FieldDescriptorProto_Label
Auto Trait Implementations
impl RefUnwindSafe for FieldDescriptorProto_Label
impl Send for FieldDescriptorProto_Label
impl Sync for FieldDescriptorProto_Label
impl Unpin for FieldDescriptorProto_Label
impl UnwindSafe for FieldDescriptorProto_Label
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