Struct thrift::protocol::TSetIdentifier
[−]
[src]
pub struct TSetIdentifier {
pub element_type: TType,
pub size: i32,
}Thrift set identifier.
Fields
element_type: TType
Type of the elements in the set.
size: i32
Number of elements in the set.
Methods
impl TSetIdentifier[src]
fn new(element_type: TType, size: i32) -> TSetIdentifier
Create a TSetIdentifier for a set with size elements of type
element_type.
Trait Implementations
impl Clone for TSetIdentifier[src]
fn clone(&self) -> TSetIdentifier
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 TSetIdentifier[src]
impl Eq for TSetIdentifier[src]
impl PartialEq for TSetIdentifier[src]
fn eq(&self, __arg_0: &TSetIdentifier) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TSetIdentifier) -> bool
This method tests for !=.