Enum protobuf::descriptor::FieldDescriptorProto_Type
[−]
[src]
pub enum FieldDescriptorProto_Type { 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
impl Clone for FieldDescriptorProto_Type
[src]
fn clone(&self) -> FieldDescriptorProto_Type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for FieldDescriptorProto_Type
[src]
fn eq(&self, __arg_0: &FieldDescriptorProto_Type) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for FieldDescriptorProto_Type
[src]
impl Debug for FieldDescriptorProto_Type
[src]
impl Hash for FieldDescriptorProto_Type
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl ProtobufEnum for FieldDescriptorProto_Type
[src]
fn value(&self) -> i32
fn from_i32(value: i32) -> Option<FieldDescriptorProto_Type>
fn values() -> &'static [Self]
fn enum_descriptor_static(_: Option<FieldDescriptorProto_Type>)
-> &'static EnumDescriptor
-> &'static EnumDescriptor