Enum xmlrpc::Value
[−]
[src]
pub enum Value {
Int(i32),
Int64(i64),
Bool(bool),
String(String),
Double(f64),
DateTime(DateTime),
Base64(Vec<u8>),
Struct(BTreeMap<String, Value>),
Array(Vec<Value>),
Nil,
}The possible XML-RPC values.
Variants
Int(i32)<i4> or <int>, 32-bit signed integer.
Int64(i64)<i8>, 64-bit signed integer.
This is a non-standard feature that may not be supported on all servers or clients.
Bool(bool)<boolean>, 0 == false, 1 == true.
String(String)<string>
Double(f64)<double>
DateTime(DateTime)<dateTime.iso8601>, an ISO 8601 formatted date/time value.
Base64(Vec<u8>)<base64>, base64-encoded binary data.
Struct(BTreeMap<String, Value>)<struct>, a mapping of named values.
Array(Vec<Value>)<array>, a list of arbitrary (heterogeneous) values.
NilMethods
impl Value[src]
Trait Implementations
impl Debug for Value[src]
impl PartialEq for Value[src]
fn eq(&self, __arg_0: &Value) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Value) -> bool
This method tests for !=.