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)
Tuple Fields
0: StringA message that is yet to be resolved.
UnresolvedEnum(String)
Tuple Fields
0: StringAn enum that is yet to be resolved.
Double
The double type.
Float
The float type.
Int64
The int64 type.
UInt64
The uint64 type.
Int32
The int32 type.
Fixed64
The fixed64 type.
Fixed32
The fixed32 type.
Bool
The bool type.
String
The string type.
Group
The group type.
Message(MessageId)
Tuple Fields
0: MessageIdA resolved message type.
Bytes
The bytes type.
UInt32
The uint32 type.
Enum(EnumId)
Tuple Fields
0: EnumIdA resolved enum type.
SFixed32
The sfixed32 type.
SFixed64
The sfixed64 type.
SInt32
The sint32 type.
SInt64
The sint64 type.
Implementations
Converts a proto field type into a native field type.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.