Enum rmp::value::Value
[−]
[src]
pub enum Value { Nil, Boolean(bool), Integer(Integer), Float(Float), String(String), Binary(Vec<u8>), Array(Vec<Value>), Map(Vec<(Value, Value)>), Ext(i8, Vec<u8>), }
Variants
Nil | Nil represents nil. |
Boolean | Boolean represents true or false. |
Integer | Integer represents an integer. |
Float | Float represents a floating point number. |
String | String extending Raw type represents a UTF-8 string. |
Binary | Binary extending Raw type represents a byte array. |
Array | Array represents a sequence of objects. |
Map | Map represents key-value pairs of objects. |
Ext | Extended implements Extension interface: represents a tuple of type information and a byte array where type information is an integer whose meaning is defined by applications. |