Struct thrift::protocol::TFieldIdentifier [−][src]
pub struct TFieldIdentifier {
pub name: Option<String>,
pub field_type: TType,
pub id: Option<i16>,
}
Expand description
Thrift field identifier.
Fields
name: Option<String>
Name of the Thrift field.
None
if it’s not sent over the wire.
field_type: TType
Field type.
This may be a primitive, container, or a struct.
id: Option<i16>
Thrift field id.
None
only if field_type
is TType::Stop
.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TFieldIdentifier
impl Send for TFieldIdentifier
impl Sync for TFieldIdentifier
impl Unpin for TFieldIdentifier
impl UnwindSafe for TFieldIdentifier
Blanket Implementations
Mutably borrows from an owned value. Read more