Struct prost_codegen::google::protobuf::OneofDescriptorProto [] [src]

pub struct OneofDescriptorProto {
    pub name: Option<String>,
    pub options: Option<OneofOptions>,
}

Describes a oneof.

Fields

Methods

impl OneofDescriptorProto
[src]

Trait Implementations

impl Clone for OneofDescriptorProto
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OneofDescriptorProto
[src]

Formats the value using the given formatter.

impl PartialEq for OneofDescriptorProto
[src]

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

This method tests for !=.