Struct thrift::protocol::TListIdentifier
[−]
[src]
pub struct TListIdentifier {
pub element_type: TType,
pub size: i32,
}Thrift list identifier.
Fields
element_type: TType
Type of the elements in the list.
size: i32
Number of elements in the list.
Methods
impl TListIdentifier[src]
fn new(element_type: TType, size: i32) -> TListIdentifier
Create a TListIdentifier for a list with size elements of type
element_type.
Trait Implementations
impl Clone for TListIdentifier[src]
fn clone(&self) -> TListIdentifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for TListIdentifier[src]
impl Eq for TListIdentifier[src]
impl PartialEq for TListIdentifier[src]
fn eq(&self, __arg_0: &TListIdentifier) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TListIdentifier) -> bool
This method tests for !=.