Struct thrift::protocol::TListIdentifier
source · Expand description
Thrift list identifier.
Fields§
§element_type: TTypeType of the elements in the list.
size: i32Number of elements in the list.
Implementations§
source§impl TListIdentifier
impl TListIdentifier
sourcepub fn new(element_type: TType, size: i32) -> TListIdentifier
pub fn new(element_type: TType, size: i32) -> TListIdentifier
Create a TListIdentifier for a list with size elements of type
element_type.
Trait Implementations§
source§impl Clone for TListIdentifier
impl Clone for TListIdentifier
source§fn clone(&self) -> TListIdentifier
fn clone(&self) -> TListIdentifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more