pub enum FieldDescriptorProto_Type {
Show 18 variants
TYPE_DOUBLE,
TYPE_FLOAT,
TYPE_INT64,
TYPE_UINT64,
TYPE_INT32,
TYPE_FIXED64,
TYPE_FIXED32,
TYPE_BOOL,
TYPE_STRING,
TYPE_GROUP,
TYPE_MESSAGE,
TYPE_BYTES,
TYPE_UINT32,
TYPE_ENUM,
TYPE_SFIXED32,
TYPE_SFIXED64,
TYPE_SINT32,
TYPE_SINT64,
}
Variants§
TYPE_DOUBLE
TYPE_FLOAT
TYPE_INT64
TYPE_UINT64
TYPE_INT32
TYPE_FIXED64
TYPE_FIXED32
TYPE_BOOL
TYPE_STRING
TYPE_GROUP
TYPE_MESSAGE
TYPE_BYTES
TYPE_UINT32
TYPE_ENUM
TYPE_SFIXED32
TYPE_SFIXED64
TYPE_SINT32
TYPE_SINT64
Trait Implementations§
source§impl Clone for FieldDescriptorProto_Type
impl Clone for FieldDescriptorProto_Type
source§fn clone(&self) -> FieldDescriptorProto_Type
fn clone(&self) -> FieldDescriptorProto_Type
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 Debug for FieldDescriptorProto_Type
impl Debug for FieldDescriptorProto_Type
source§impl Hash for FieldDescriptorProto_Type
impl Hash for FieldDescriptorProto_Type
source§impl PartialEq<FieldDescriptorProto_Type> for FieldDescriptorProto_Type
impl PartialEq<FieldDescriptorProto_Type> for FieldDescriptorProto_Type
source§fn eq(&self, other: &FieldDescriptorProto_Type) -> bool
fn eq(&self, other: &FieldDescriptorProto_Type) -> bool
source§impl ProtobufEnum for FieldDescriptorProto_Type
impl ProtobufEnum for FieldDescriptorProto_Type
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.