Enum lapin_async::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,
}

Variants

Methods

impl AMQPValue

Trait Implementations

impl<'de> Deserialize<'de> for AMQPValue

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for AMQPValue

Serialize this value into the given Serde serializer. Read more

impl PartialEq<AMQPValue> for AMQPValue

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

This method tests for !=.

impl<'a> From<&'a Value> for AMQPValue

Performs the conversion.

impl From<Value> for AMQPValue

Performs the conversion.

impl Clone for AMQPValue

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AMQPValue

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for AMQPValue

impl Sync for AMQPValue