Enum amq_protocol_types::AMQPValue [−][src]
pub enum AMQPValue {
Show 18 variants
Boolean(Boolean),
ShortShortInt(ShortShortInt),
ShortShortUInt(ShortShortUInt),
ShortInt(ShortInt),
ShortUInt(ShortUInt),
LongInt(LongInt),
LongUInt(LongUInt),
LongLongInt(LongLongInt),
Float(Float),
Double(Double),
DecimalValue(DecimalValue),
ShortString(ShortString),
LongString(LongString),
FieldArray(FieldArray),
Timestamp(Timestamp),
FieldTable(FieldTable),
ByteArray(ByteArray),
Void,
}
Expand description
Enumeration referencing the possible AMQP values depending on the types
Variants
A bool
Tuple Fields of Boolean
0: Boolean
An i8
Tuple Fields of ShortShortInt
A u8
Tuple Fields of ShortShortUInt
An i16
Tuple Fields of ShortInt
0: ShortInt
A u16
Tuple Fields of ShortUInt
0: ShortUInt
An i32
Tuple Fields of LongInt
0: LongInt
A u32
Tuple Fields of LongUInt
0: LongUInt
An i64
Tuple Fields of LongLongInt
0: LongLongInt
An f32
Tuple Fields of Float
0: Float
An f64
Tuple Fields of Double
0: Double
A decimal value
Tuple Fields of DecimalValue
0: DecimalValue
A String (deprecated)
Tuple Fields of ShortString
0: ShortString
A String
Tuple Fields of LongString
0: LongString
An array of AMQPValue
Tuple Fields of FieldArray
0: FieldArray
A timestamp (u64)
Tuple Fields of Timestamp
0: Timestamp
A Map<String, AMQPValue>
Tuple Fields of FieldTable
0: FieldTable
An array of bytes (RabbitMQ specific)
Tuple Fields of ByteArray
0: ByteArray
No value
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AMQPValue
impl UnwindSafe for AMQPValue
Blanket Implementations
Mutably borrows from an owned value. Read more