Enum protobuf::well_known_types::Syntax[][src]

pub enum Syntax {
    SYNTAX_PROTO2,
    SYNTAX_PROTO3,
}

Variants

Trait Implementations

impl Clone for Syntax
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Syntax
[src]

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

This method tests for !=.

impl Eq for Syntax
[src]

impl Debug for Syntax
[src]

Formats the value using the given formatter. Read more

impl Hash for Syntax
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl ProtobufEnum for Syntax
[src]

Get enum i32 value.

Try to create an enum from i32 value. Return None if value is unknown. Read more

Get all enum values for enum type.

Get enum descriptor by type.

Get enum value descriptor.

Get enum descriptor.

impl Copy for Syntax
[src]

impl Default for Syntax
[src]

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

impl ProtobufValue for Syntax
[src]

Auto Trait Implementations

impl Send for Syntax

impl Sync for Syntax