Enum lapin_async::types::AMQPType
[−]
pub enum AMQPType {
Boolean,
ShortShortInt,
ShortShortUInt,
ShortInt,
ShortUInt,
LongInt,
LongUInt,
LongLongInt,
LongLongUInt,
Float,
Double,
DecimalValue,
ShortString,
LongString,
FieldArray,
Timestamp,
FieldTable,
ByteArray,
Void,
}Variants
BooleanShortShortIntShortShortUIntShortIntShortUIntLongIntLongUIntLongLongIntLongLongUIntFloatDoubleDecimalValueShortStringLongStringFieldArrayTimestampFieldTableByteArrayVoid
Methods
impl AMQPType
pub fn from_id(id: char) -> Option<AMQPType>
pub fn get_id(&self) -> char
pub fn to_string(&self) -> String
Trait Implementations
impl Display for AMQPType
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for AMQPType
fn deserialize<__D>(
__deserializer: __D
) -> Result<AMQPType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
__deserializer: __D
) -> Result<AMQPType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for AMQPType
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
&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 PartialEq<AMQPType> for AMQPType
fn eq(&self, __arg_0: &AMQPType) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Clone for AMQPType
fn clone(&self) -> AMQPType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more