pub enum RuntimeFieldType {
    Singular(RuntimeTypeBox),
    Repeated(RuntimeTypeBox),
    Map(RuntimeTypeBoxRuntimeTypeBox),
}
Expand description

Reflective representation of field type.

Variants

Singular(RuntimeTypeBox)

Singular field (required, optional for proto2 or singular for proto3)

Repeated(RuntimeTypeBox)

Repeated field

Map(RuntimeTypeBoxRuntimeTypeBox)

Map field

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.