pub enum AmqpValue {
Show 17 variants
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, Global>),
Timestamp(u64),
FieldTable(BTreeMap<String, AMQPValue>),
ByteArray(Vec<u8, Global>),
Void,
}
Expand description
Enumeration referencing the possible AMQP values depending on the types
Variants
Boolean(bool)
Tuple Fields
0: bool
A bool
ShortShortInt(i8)
Tuple Fields
0: i8
An i8
ShortShortUInt(u8)
Tuple Fields
0: u8
A u8
ShortInt(i16)
Tuple Fields
0: i16
An i16
ShortUInt(u16)
Tuple Fields
0: u16
A u16
LongInt(i32)
Tuple Fields
0: i32
An i32
LongUInt(u32)
Tuple Fields
0: u32
A u32
LongLongInt(i64)
Tuple Fields
0: i64
An i64
Float(f32)
Tuple Fields
0: f32
An f32
Double(f64)
Tuple Fields
0: f64
An f64
DecimalValue(DecimalValue)
Tuple Fields
0: DecimalValue
A decimal value
LongString(String)
Tuple Fields
0: String
A String
FieldArray(Vec<AMQPValue, Global>)
An array of AMQPValue
Timestamp(u64)
Tuple Fields
0: u64
A timestamp (u32)
FieldTable(BTreeMap<String, AMQPValue>)
A Map<String, AMQPValue>
ByteArray(Vec<u8, Global>)
An array of bytes (RabbitMQ speicific)
Void
No value
Implementations
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<AMQPValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<AMQPValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AMQPValue
impl UnwindSafe for AMQPValue
Blanket Implementations
Mutably borrows from an owned value. Read more