[][src]Enum lapin_futures_tls_internal::lapin::types::AMQPValue

pub enum AMQPValue {
    Boolean(bool),
    ShortShortInt(i8),
    ShortShortUInt(u8),
    ShortInt(i16),
    ShortUInt(u16),
    LongInt(i32),
    LongUInt(u32),
    LongLongInt(i64),
    Float(f32),
    Double(f64),
    DecimalValue(DecimalValue),
    LongString(String),
    FieldArray(Vec<AMQPValue>),
    Timestamp(u64),
    FieldTable(BTreeMap<String, AMQPValue>),
    ByteArray(Vec<u8>),
    Void,
}

Enumeration referencing the possible AMQP values depending on the types

Variants

Boolean(bool)

A bool

ShortShortInt(i8)

An i8

ShortShortUInt(u8)

A u8

ShortInt(i16)

An i16

ShortUInt(u16)

A u16

LongInt(i32)

An i32

LongUInt(u32)

A u32

LongLongInt(i64)

An i64

Float(f32)

An f32

Double(f64)

An f64

DecimalValue(DecimalValue)

A decimal value

LongString(String)

A String

FieldArray(Vec<AMQPValue>)

An array of AMQPValue

Timestamp(u64)

A timestamp (u32)

FieldTable(BTreeMap<String, AMQPValue>)

A Map<String, AMQPValue>

ByteArray(Vec<u8>)

An array of bytes (RabbitMQ speicific)

Void

No value

Methods

impl AMQPValue[src]

pub fn get_type(&self) -> AMQPType[src]

Get the AMQPType of an AMQPValue

Trait Implementations

impl<'a> From<&'a Value> for AMQPValue[src]

impl From<Value> for AMQPValue[src]

impl Serialize for AMQPValue[src]

impl PartialEq<AMQPValue> for AMQPValue[src]

impl Debug for AMQPValue[src]

impl Clone for AMQPValue[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl Send for AMQPValue

impl Sync for AMQPValue

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T