Enum protobuf_parser::Syntax [] [src]

pub enum Syntax {
    Proto2,
    Proto3,
}

Protobox syntax

Variants

Protobuf syntax 2 (default)

Protobuf syntax 3

Trait Implementations

impl Debug for Syntax
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Syntax
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Syntax
[src]

impl Default for Syntax
[src]

[src]

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

Auto Trait Implementations

impl Send for Syntax

impl Sync for Syntax