Enum protobuf::well_known_types::Field_Cardinality[][src]

pub enum Field_Cardinality {
    CARDINALITY_UNKNOWN,
    CARDINALITY_OPTIONAL,
    CARDINALITY_REQUIRED,
    CARDINALITY_REPEATED,
}

Variants

Trait Implementations

impl Clone for Field_Cardinality
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Field_Cardinality
[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 Field_Cardinality
[src]

impl Debug for Field_Cardinality
[src]

Formats the value using the given formatter. Read more

impl Hash for Field_Cardinality
[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 Field_Cardinality
[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 Field_Cardinality
[src]

impl Default for Field_Cardinality
[src]

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

impl ProtobufValue for Field_Cardinality
[src]

Auto Trait Implementations