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
sourceimpl 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
sourceimpl Clone for TSetIdentifier
impl Clone for TSetIdentifier
sourcefn clone(&self) -> TSetIdentifier
fn clone(&self) -> TSetIdentifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TSetIdentifier
impl Debug for TSetIdentifier
sourceimpl PartialEq<TSetIdentifier> for TSetIdentifier
impl PartialEq<TSetIdentifier> for TSetIdentifier
sourcefn eq(&self, other: &TSetIdentifier) -> bool
fn eq(&self, other: &TSetIdentifier) -> bool
impl Eq for TSetIdentifier
impl StructuralEq for TSetIdentifier
impl StructuralPartialEq for TSetIdentifier
Auto Trait Implementations
impl RefUnwindSafe for TSetIdentifier
impl Send for TSetIdentifier
impl Sync for TSetIdentifier
impl Unpin for TSetIdentifier
impl UnwindSafe for TSetIdentifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more