Enum prost_types::field::Kind [−][src]
#[repr(i32)]
pub enum Kind {
Show 19 variants
TypeUnknown,
TypeDouble,
TypeFloat,
TypeInt64,
TypeUint64,
TypeInt32,
TypeFixed64,
TypeFixed32,
TypeBool,
TypeString,
TypeGroup,
TypeMessage,
TypeBytes,
TypeUint32,
TypeEnum,
TypeSfixed32,
TypeSfixed64,
TypeSint32,
TypeSint64,
}
Expand description
Basic field types.
Variants
Field type unknown.
Field type double.
Field type float.
Field type int64.
Field type uint64.
Field type int32.
Field type fixed64.
Field type fixed32.
Field type bool.
Field type string.
Field type group. Proto2 syntax only, and deprecated.
Field type message.
Field type bytes.
Field type uint32.
Field type enum.
Field type sfixed32.
Field type sfixed64.
Field type sint32.
Field type sint64.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl UnwindSafe for Kind
Blanket Implementations
Mutably borrows from an owned value. Read more