Struct protobuf_parser::EnumValue [] [src]

pub struct EnumValue {
    pub name: String,
    pub number: i32,
}

A protobuf enumeration field

Fields

enum value name

enum value number

Trait Implementations

impl Debug for EnumValue
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for EnumValue
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for EnumValue

impl Sync for EnumValue