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
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)
VoidNo value
Methods
impl AMQPValue[src]
impl AMQPValueTrait Implementations
impl Clone for AMQPValue[src]
impl Clone for AMQPValuefn clone(&self) -> AMQPValue[src]
fn clone(&self) -> AMQPValueReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for AMQPValue[src]
impl Debug for AMQPValuefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Serialize for AMQPValue[src]
impl Serialize for AMQPValuefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
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
impl<'de> Deserialize<'de> for AMQPValue[src]
impl<'de> Deserialize<'de> for AMQPValuefn deserialize<__D>(
__deserializer: __D
) -> Result<AMQPValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
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
impl PartialEq<AMQPValue> for AMQPValue[src]
impl PartialEq<AMQPValue> for AMQPValuefn eq(&self, other: &AMQPValue) -> bool[src]
fn eq(&self, other: &AMQPValue) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AMQPValue) -> bool[src]
fn ne(&self, other: &AMQPValue) -> boolThis method tests for !=.
impl From<Value> for AMQPValue[src]
impl From<Value> for AMQPValueimpl<'a> From<&'a Value> for AMQPValue[src]
impl<'a> From<&'a Value> for AMQPValue