pub struct TListIdentifier {
pub element_type: TType,
pub size: u32,
}
Expand description
Thrift list identifier.
Fields§
§element_type: TType
Type of the elements in the list.
size: u32
Number of elements in the list.
Implementations§
Source§impl TListIdentifier
impl TListIdentifier
Sourcepub fn new(element_type: TType, size: u32) -> TListIdentifier
pub fn new(element_type: TType, size: u32) -> 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 moreSource§impl Debug for TListIdentifier
impl Debug for TListIdentifier
Source§impl PartialEq for TListIdentifier
impl PartialEq for TListIdentifier
impl Eq for TListIdentifier
impl StructuralPartialEq for TListIdentifier
Auto Trait Implementations§
impl Freeze for TListIdentifier
impl RefUnwindSafe for TListIdentifier
impl Send for TListIdentifier
impl Sync for TListIdentifier
impl Unpin for TListIdentifier
impl UnwindSafe for TListIdentifier
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)