Enum serde_protobuf::descriptor::InternalFieldType [−][src]
pub enum InternalFieldType { }
Expand description
The internally tracked type of a field.
The type owns all of its data, and can refer to an internally tracked ID for resolved type references. It’s by design not possible to construct those IDs from outside this module.
Variants
UnresolvedMessage(String)
Expand description
A message that is yet to be resolved.
UnresolvedEnum(String)
Expand description
An enum that is yet to be resolved.
Expand description
The double
type.
Expand description
The float
type.
Expand description
The int64
type.
Expand description
The uint64
type.
Expand description
The int32
type.
Expand description
The fixed64
type.
Expand description
The fixed32
type.
Expand description
The bool
type.
Expand description
The string
type.
Expand description
The group
type.
Message(MessageId)
Expand description
A resolved message type.
Expand description
The bytes
type.
Expand description
The uint32
type.
Enum(EnumId)
Expand description
A resolved enum type.
Expand description
The sfixed32
type.
Expand description
The sfixed64
type.
Expand description
The sint32
type.
Expand description
The sint64
type.
Implementations
impl InternalFieldType
[src]
impl InternalFieldType
[src]pub fn from_proto(
proto: FieldDescriptorProto_Type,
type_name: &str
) -> InternalFieldType
[src]
pub fn from_proto(
proto: FieldDescriptorProto_Type,
type_name: &str
) -> InternalFieldType
[src]Converts a proto field type into a native field type.
Trait Implementations
impl Debug for InternalFieldType
[src]
impl Debug for InternalFieldType
[src]impl PartialEq<InternalFieldType> for InternalFieldType
[src]
impl PartialEq<InternalFieldType> for InternalFieldType
[src]fn eq(&self, other: &InternalFieldType) -> bool
[src]
fn eq(&self, other: &InternalFieldType) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &InternalFieldType) -> bool
[src]
fn ne(&self, other: &InternalFieldType) -> bool
[src]This method tests for !=
.