Enum dbus_serialize::types::Value [] [src]

pub enum Value {
    BasicValue(BasicValue),
    Double(f64),
    Array(Array),
    Variant(Variant),
    Struct(Struct),
    Dictionary(Dictionary),
}

Root type for any D-Bus value

Variants

BasicValue(BasicValue)Double(f64)Array(Array)Variant(Variant)Struct(Struct)Dictionary(Dictionary)

Methods

impl Value
[src]

fn get_signature(&self) -> &str

Returns the D-Bus type signature that corresponds to the Value

Trait Implementations

impl Clone for Value
[src]

fn clone(&self) -> Value

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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 !=.

impl<T: Encodable> From<T> for Value
[src]

fn from(x: T) -> Value

Performs the conversion.