Struct protobuf::well_known_types::Field [] [src]

pub struct Field {
    pub kind: Field_Kind,
    pub cardinality: Field_Cardinality,
    pub number: i32,
    pub name: String,
    pub type_url: String,
    pub oneof_index: i32,
    pub packed: bool,
    pub options: RepeatedField<Option>,
    pub json_name: String,
    pub default_value: String,
    // some fields omitted
}

Fields

Methods

impl Field
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl PartialEq for Field
[src]

[src]

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

[src]

This method tests for !=.

impl Clone for Field
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Field
[src]

[src]

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

impl Sync for Field
[src]

impl Message for Field
[src]

impl MessageStatic for Field
[src]

impl Clear for Field
[src]

[src]

impl Debug for Field
[src]

[src]

Formats the value using the given formatter. Read more

impl ProtobufValue for Field
[src]

[src]

[src]

[src]

[src]

Auto Trait Implementations

impl Send for Field