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
sourceimpl Clone for FieldDescriptorProto_Type
impl Clone for FieldDescriptorProto_Type
sourcefn clone(&self) -> FieldDescriptorProto_Type
fn clone(&self) -> FieldDescriptorProto_Type
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_Type
impl Debug for FieldDescriptorProto_Type
sourceimpl Default for FieldDescriptorProto_Type
impl Default for FieldDescriptorProto_Type
sourceimpl<'de> Deserialize<'de> for FieldDescriptorProto_Type
impl<'de> Deserialize<'de> for FieldDescriptorProto_Type
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_Type
impl Hash for FieldDescriptorProto_Type
sourceimpl PartialEq<FieldDescriptorProto_Type> for FieldDescriptorProto_Type
impl PartialEq<FieldDescriptorProto_Type> for FieldDescriptorProto_Type
sourcefn eq(&self, other: &FieldDescriptorProto_Type) -> bool
fn eq(&self, other: &FieldDescriptorProto_Type) -> bool
sourceimpl ProtobufEnum for FieldDescriptorProto_Type
impl ProtobufEnum for FieldDescriptorProto_Type
sourcefn from_i32(value: i32) -> Option<FieldDescriptorProto_Type>
fn from_i32(value: i32) -> Option<FieldDescriptorProto_Type>
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_Type
impl ProtobufValue for FieldDescriptorProto_Type
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>
sourceimpl Serialize for FieldDescriptorProto_Type
impl Serialize for FieldDescriptorProto_Type
impl Copy for FieldDescriptorProto_Type
impl Eq for FieldDescriptorProto_Type
impl StructuralEq for FieldDescriptorProto_Type
impl StructuralPartialEq for FieldDescriptorProto_Type
Auto Trait Implementations
impl RefUnwindSafe for FieldDescriptorProto_Type
impl Send for FieldDescriptorProto_Type
impl Sync for FieldDescriptorProto_Type
impl Unpin for FieldDescriptorProto_Type
impl UnwindSafe for FieldDescriptorProto_Type
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