Struct thrift::protocol::TSetIdentifier
source · Expand description
Thrift set identifier.
Fields§
§element_type: TType
Type of the elements in the set.
size: i32
Number of elements in the set.
Implementations§
source§impl TSetIdentifier
impl TSetIdentifier
sourcepub fn new(element_type: TType, size: i32) -> TSetIdentifier
pub fn new(element_type: TType, size: i32) -> TSetIdentifier
Create a TSetIdentifier
for a set with size
elements of type
element_type
.
Trait Implementations§
source§impl Clone for TSetIdentifier
impl Clone for TSetIdentifier
source§fn clone(&self) -> TSetIdentifier
fn clone(&self) -> TSetIdentifier
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