Struct prost_codegen::google::protobuf::EnumDescriptorProto
[−]
[src]
pub struct EnumDescriptorProto {
pub name: Option<String>,
pub value: Vec<EnumValueDescriptorProto>,
pub options: Option<EnumOptions>,
}Describes an enum type.
Fields
name: Option<String>
value: Vec<EnumValueDescriptorProto>
options: Option<EnumOptions>
Methods
impl EnumDescriptorProto[src]
Trait Implementations
impl Clone for EnumDescriptorProto[src]
fn clone(&self) -> EnumDescriptorProto
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 EnumDescriptorProto[src]
impl PartialEq for EnumDescriptorProto[src]
fn eq(&self, __arg_0: &EnumDescriptorProto) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &EnumDescriptorProto) -> bool
This method tests for !=.