Struct thrift::protocol::TListIdentifier
source · [−]Expand description
Thrift list identifier.
Fields
element_type: TType
Type of the elements in the list.
size: i32
Number of elements in the list.
Implementations
sourceimpl 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
sourceimpl Clone for TListIdentifier
impl Clone for TListIdentifier
sourcefn clone(&self) -> TListIdentifier
fn clone(&self) -> TListIdentifier
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 TListIdentifier
impl Debug for TListIdentifier
sourceimpl PartialEq<TListIdentifier> for TListIdentifier
impl PartialEq<TListIdentifier> for TListIdentifier
sourcefn eq(&self, other: &TListIdentifier) -> bool
fn eq(&self, other: &TListIdentifier) -> bool
impl Eq for TListIdentifier
impl StructuralEq for TListIdentifier
impl StructuralPartialEq for TListIdentifier
Auto Trait Implementations
impl RefUnwindSafe for TListIdentifier
impl Send for TListIdentifier
impl Sync for TListIdentifier
impl Unpin for TListIdentifier
impl UnwindSafe for TListIdentifier
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