Struct protobuf::descriptor::OneofDescriptorProto [] [src]

pub struct OneofDescriptorProto {
    // some fields omitted
}

Methods

impl OneofDescriptorProto
[src]

fn new() -> OneofDescriptorProto

fn default_instance() -> &'static OneofDescriptorProto

fn clear_name(&mut self)

fn has_name(&self) -> bool

fn set_name(&mut self, v: String)

fn mut_name(&mut self) -> &mut String

fn take_name(&mut self) -> String

fn get_name(&self) -> &str

Trait Implementations

impl Default for OneofDescriptorProto
[src]

fn default() -> OneofDescriptorProto

Returns the "default value" for a type. Read more

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 Sync for OneofDescriptorProto
[src]

impl Message for OneofDescriptorProto
[src]

impl MessageStatic for OneofDescriptorProto
[src]

impl Clear for OneofDescriptorProto
[src]

fn clear(&mut self)

impl PartialEq for OneofDescriptorProto
[src]

fn eq(&self, other: &OneofDescriptorProto) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for OneofDescriptorProto
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.