[][src]Struct amq_protocol_types::FieldTable

pub struct FieldTable(_);

A Map<String, AMQPValue>

Implementations

impl FieldTable[src]

pub fn insert(&mut self, k: ShortString, v: AMQPValue)[src]

Insert a new entry in the table

pub fn contains_key(&self, k: &str) -> bool[src]

Check whether the table contains the given key

pub fn inner(&self) -> &BTreeMap<ShortString, AMQPValue>[src]

Access the inner BTreeMap to perform lookups

Trait Implementations

impl Clone for FieldTable[src]

impl Debug for FieldTable[src]

impl Default for FieldTable[src]

impl<'de> Deserialize<'de> for FieldTable[src]

impl From<BTreeMap<ShortString, AMQPValue>> for FieldTable[src]

impl From<FieldTable> for AMQPValue[src]

impl<'a> IntoIterator for &'a FieldTable[src]

type Item = (&'a ShortString, &'a AMQPValue)

The type of the elements being iterated over.

type IntoIter = Iter<'a, ShortString, AMQPValue>

Which kind of iterator are we turning this into?

impl PartialEq<FieldTable> for FieldTable[src]

impl Serialize for FieldTable[src]

impl StructuralPartialEq for FieldTable[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.