Struct prost_codegen::google::protobuf::EnumValueDescriptorProto
[−]
[src]
pub struct EnumValueDescriptorProto {
pub name: Option<String>,
pub number: Option<i32>,
pub options: Option<EnumValueOptions>,
}Describes a value within an enum.
Fields
name: Option<String>
number: Option<i32>
options: Option<EnumValueOptions>
Methods
impl EnumValueDescriptorProto[src]
Trait Implementations
impl Clone for EnumValueDescriptorProto[src]
fn clone(&self) -> EnumValueDescriptorProto
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for EnumValueDescriptorProto[src]
impl PartialEq for EnumValueDescriptorProto[src]
fn eq(&self, __arg_0: &EnumValueDescriptorProto) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &EnumValueDescriptorProto) -> bool
This method tests for !=.