Struct rift::protocol::TFieldIdentifier [] [src]

pub struct TFieldIdentifier {
    pub name: Option<String>,
    pub field_type: TType,
    pub id: Option<i16>,
}

Identifies a Thrift field.

Fields

Name of the encoded Thrift field.

This field should be set be callers of TOutputProtocol. It may not be set on received field identifiers.

Field type. One of TType.

Thrift field id. None only if field_type is TType::Stop.

Methods

impl TFieldIdentifier
[src]

Convenience constructor to create a new TFieldIdentifier instance.

Trait Implementations

impl Clone for TFieldIdentifier
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TFieldIdentifier
[src]

Formats the value using the given formatter.

impl Eq for TFieldIdentifier
[src]

impl PartialEq for TFieldIdentifier
[src]

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

This method tests for !=.