Struct thrift::protocol::TFieldIdentifier [] [src]

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

Thrift field identifier.

Fields

Name of the Thrift field.

None if it's not sent over the wire.

Field type.

This may be a primitive, container, or a struct.

Thrift field id.

None only if field_type is TType::Stop.

Methods

impl TFieldIdentifier
[src]

Create a TFieldIdentifier for a field named name with type field_type and field id id.

id should be None if field_type is TType::Stop.

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 !=.