Enum dove::types::Value [−][src]
pub enum Value {
Show 21 variants
Described(Box<Value>, Box<Value>),
Null,
Bool(bool),
Ubyte(u8),
Ushort(u16),
Uint(u32),
Ulong(u64),
Byte(i8),
Short(i16),
Int(i32),
Long(i64),
Char(char),
Timestamp(u64),
Binary(Vec<u8>),
Str(&'static str),
String(String),
Symbol(Vec<u8>),
SymbolSlice(&'static [u8]),
List(Vec<Value>),
Map(Vec<(Value, Value)>),
Array(Vec<Value>),
}
Expand description
An owned value type that can be transferred to or from the broker. http://docs.oasis-open.org/amqp/core/v1.0/csprd01/amqp-core-types-v1.0-csprd01.html#toc
Variants
Bool(bool)
Tuple Fields of Bool
0: bool
Ubyte(u8)
Tuple Fields of Ubyte
0: u8
Ushort(u16)
Tuple Fields of Ushort
0: u16
Uint(u32)
Tuple Fields of Uint
0: u32
Ulong(u64)
Tuple Fields of Ulong
0: u64
Byte(i8)
Tuple Fields of Byte
0: i8
Short(i16)
Tuple Fields of Short
0: i16
Int(i32)
Tuple Fields of Int
0: i32
Long(i64)
Tuple Fields of Long
0: i64
Char(char)
Tuple Fields of Char
0: char
Timestamp(u64)
Tuple Fields of Timestamp
0: u64
Str(&'static str)
Tuple Fields of Str
0: &'static str
String(String)
Tuple Fields of String
0: String
SymbolSlice(&'static [u8])
Tuple Fields of SymbolSlice
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more