Struct thrift::protocol::TMapIdentifier
source · pub struct TMapIdentifier {
pub key_type: Option<TType>,
pub value_type: Option<TType>,
pub size: i32,
}
Expand description
Thrift map identifier.
Fields§
§key_type: Option<TType>
Map key type.
value_type: Option<TType>
Map value type.
size: i32
Number of entries in the map.
Implementations§
Trait Implementations§
source§impl Clone for TMapIdentifier
impl Clone for TMapIdentifier
source§fn clone(&self) -> TMapIdentifier
fn clone(&self) -> TMapIdentifier
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 TMapIdentifier
impl Debug for TMapIdentifier
source§impl PartialEq for TMapIdentifier
impl PartialEq for TMapIdentifier
source§fn eq(&self, other: &TMapIdentifier) -> bool
fn eq(&self, other: &TMapIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TMapIdentifier
impl StructuralPartialEq for TMapIdentifier
Auto Trait Implementations§
impl Freeze for TMapIdentifier
impl RefUnwindSafe for TMapIdentifier
impl Send for TMapIdentifier
impl Sync for TMapIdentifier
impl Unpin for TMapIdentifier
impl UnwindSafe for TMapIdentifier
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)