Type Alias simple_xmlrpc::Value

source ·
pub type Value = Value;
👎Deprecated since 0.1.2: please use serde_xmlrpc::Value instead

Aliased Type§

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,
}

Variants§

§

Int(i32)

A 32-bit signed integer (<i4> or <int>).

§

Int64(i64)

A 64-bit signed integer (<i8>).

§

Bool(bool)

A boolean value (<boolean>, 0 == false, 1 == true).

§

String(String)

A string (<string>).

§

Double(f64)

A double-precision IEEE 754 floating point number (<double>).

§

DateTime(DateTime)

An ISO 8601 formatted date/time value (<dateTime.iso8601>).

§

Base64(Vec<u8>)

Base64-encoded binary data (<base64>).

§

Struct(BTreeMap<String, Value>)

A mapping of named values (<struct>).

§

Array(Vec<Value>)

A list of arbitrary (heterogeneous) values (<array>).

§

Nil

The empty (Unit) value (<nil/>).