pub struct TSetIdentifier {
pub element_type: TType,
pub size: u32,
}
Expand description
Thrift set identifier.
Fields§
§element_type: TType
Type of the elements in the set.
size: u32
Number of elements in the set.
Implementations§
Source§impl TSetIdentifier
impl TSetIdentifier
Sourcepub fn new(element_type: TType, size: u32) -> TSetIdentifier
pub fn new(element_type: TType, size: u32) -> 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 moreSource§impl Debug for TSetIdentifier
impl Debug for TSetIdentifier
Source§impl PartialEq for TSetIdentifier
impl PartialEq for TSetIdentifier
impl Eq for TSetIdentifier
impl StructuralPartialEq for TSetIdentifier
Auto Trait Implementations§
impl Freeze for TSetIdentifier
impl RefUnwindSafe for TSetIdentifier
impl Send for TSetIdentifier
impl Sync for TSetIdentifier
impl Unpin for TSetIdentifier
impl UnwindSafe for TSetIdentifier
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
)