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