Enum xmlrpc::Value [] [src]

pub enum Value {
    Int(i32),
    Bool(bool),
    String(String),
    Double(f64),
    DateTime(DateTime),
    Base64(Vec<u8>),
    Struct(BTreeMap<StringValue>),
    Array(Vec<Value>),
}

The possible XML-RPC values.

Variants

<i4> or <int>, 32-bit signed integer.

<boolean>, 0 == false, 1 == true.

<string>

<double>

<dateTime.iso8601>, an ISO 8601 formatted date/time value.

<base64>, base64-encoded binary data.

<struct>, a mapping of named values.

<array>, a list of arbitrary (heterogeneous) values.

Methods

impl Value
[src]

Trait Implementations

impl Debug for Value
[src]

Formats the value using the given formatter.

impl PartialEq for Value
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<i32> for Value
[src]

Performs the conversion.

impl From<bool> for Value
[src]

Performs the conversion.

impl From<String> for Value
[src]

Performs the conversion.

impl From<f64> for Value
[src]

Performs the conversion.

impl From<DateTime> for Value
[src]

Performs the conversion.

impl From<Vec<u8>> for Value
[src]

Performs the conversion.