Struct thrift::protocol::TMapIdentifier
[−]
[src]
pub struct TMapIdentifier { pub key_type: Option<TType>, pub value_type: Option<TType>, pub size: i32, }
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.
Methods
impl TMapIdentifier
[src]
fn new<K, V>(key_type: K, value_type: V, size: i32) -> TMapIdentifier where K: Into<Option<TType>>, V: Into<Option<TType>>
Create a TMapIdentifier
for a map with size
entries of type
key_type -> value_type
.
Trait Implementations
impl Clone for TMapIdentifier
[src]
fn clone(&self) -> TMapIdentifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TMapIdentifier
[src]
impl Eq for TMapIdentifier
[src]
impl PartialEq for TMapIdentifier
[src]
fn eq(&self, __arg_0: &TMapIdentifier) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TMapIdentifier) -> bool
This method tests for !=
.