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<TMapIdentifier> for TMapIdentifier
impl PartialEq<TMapIdentifier> 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 StructuralEq for TMapIdentifier
impl StructuralPartialEq for TMapIdentifier
Auto Trait Implementations§
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