[][src]Enum xml_rpc::Value

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

Variants

Int(i32)
Bool(bool)
String(String)
Double(f64)
DateTime(String)
Base64(Vec<u8>)
Array(Vec<Value>)
Struct(HashMap<String, Value>)

Methods

impl Value[src][]

pub fn unexpected(&self) -> Unexpected[src]

Trait Implementations

impl Clone for Value[src][+]

impl Debug for Value[src][+]

impl<'de> Deserializer<'de> for Value[src][+]

type Error = Error

The error type that can be returned if some error occurs during deserialization. Read more

impl PartialEq<Value> for Value[src][+]

impl StructuralPartialEq for Value[src]

impl<'de> VariantAccess<'de> for Value[src][+]

type Error = Error

The error type that can be returned if some error occurs during deserialization. Must match the error type of our EnumAccess. Read more

Auto Trait Implementations

impl RefUnwindSafe for Value

impl Send for Value

impl Sync for Value

impl Unpin for Value

impl UnwindSafe for Value

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any
[src][+]