Struct protobuf_parser::OneOf [] [src]

pub struct OneOf {
    pub name: String,
    pub fields: Vec<Field>,
}

A OneOf

Fields

OneOf name

OneOf fields

Trait Implementations

impl Debug for OneOf
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for OneOf
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for OneOf
[src]

[src]

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

Auto Trait Implementations

impl Send for OneOf

impl Sync for OneOf