Enum lapin_async::types::AMQPValue[][src]

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

A bool

An i8

A u8

An i16

A u16

An i32

A u32

An i64

An f32

An f64

A decimal value

A String

An array of AMQPValue

A timestamp (u32)

A Map<String, AMQPValue>

An array of bytes (RabbitMQ speicific)

No value

Methods

impl AMQPValue
[src]

Get the AMQPType of an AMQPValue

Trait Implementations

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

Deserialize this value from the given Serde deserializer. Read more

impl Clone for AMQPValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Serialize for AMQPValue
[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for AMQPValue
[src]

Formats the value using the given formatter. Read more

impl PartialEq<AMQPValue> for AMQPValue
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Value> for AMQPValue
[src]

Performs the conversion.

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

Performs the conversion.

Auto Trait Implementations

impl Send for AMQPValue

impl Sync for AMQPValue