Enum serde_protobuf::descriptor::FieldType [−][src]
pub enum FieldType<'a> {
Show 20 variants
UnresolvedMessage(&'a str),
UnresolvedEnum(&'a str),
Double,
Float,
Int64,
UInt64,
Int32,
Fixed64,
Fixed32,
Bool,
String,
Group,
Message(&'a MessageDescriptor),
Bytes,
UInt32,
Enum(&'a EnumDescriptor),
SFixed32,
SFixed64,
SInt32,
SInt64,
}Expand description
The externally visible type of a field.
This type representation borrows references to any referenced descriptors.
Variants
UnresolvedMessage(&'a str)
Tuple Fields
0: &'a strA message that is yet to be resolved.
UnresolvedEnum(&'a str)
Tuple Fields
0: &'a strAn 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(&'a MessageDescriptor)
Tuple Fields
0: &'a MessageDescriptorA resolved message type.
Bytes
The bytes type.
UInt32
The uint32 type.
Enum(&'a EnumDescriptor)
Tuple Fields
0: &'a EnumDescriptorA resolved enum type.
SFixed32
The sfixed32 type.
SFixed64
The sfixed64 type.
SInt32
The sint32 type.
SInt64
The sint64 type.