Struct prost_types::EnumDescriptorProto [−][src]
Describes an enum type.
Fields
name: Option<String>
value: Vec<EnumValueDescriptorProto>
options: Option<EnumOptions>
reserved_range: Vec<EnumReservedRange>
Range of reserved numeric values. Reserved numeric values may not be used by enum values in the same enum declaration. Reserved ranges may not overlap.
reserved_name: Vec<String>
Reserved enum value names, which may not be reused. A given name may only be reserved once.
Implementations
impl EnumDescriptorProto
[src][−]
Trait Implementations
impl Clone for EnumDescriptorProto
[src][+]
impl Debug for EnumDescriptorProto
[src][+]
impl Default for EnumDescriptorProto
[src][+]
impl Message for EnumDescriptorProto
[src][+]
impl PartialEq<EnumDescriptorProto> for EnumDescriptorProto
[src][+]
impl StructuralPartialEq for EnumDescriptorProto
[src]
Auto Trait Implementations
impl RefUnwindSafe for EnumDescriptorProto
impl Send for EnumDescriptorProto
impl Sync for EnumDescriptorProto
impl Unpin for EnumDescriptorProto
impl UnwindSafe for EnumDescriptorProto
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,