Struct dbus_serialize::types::Variant [] [src]

pub struct Variant {
    pub object: Box<Value>,
    pub signature: Signature,
}

Fields

object: Box<Value> signature: Signature

Methods

impl Variant
[src]

fn new(v: Value, s: &str) -> Variant

Trait Implementations

impl Clone for Variant
[src]

fn clone(&self) -> Variant

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 Variant
[src]

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

Formats the value using the given formatter.

impl PartialEq for Variant
[src]

fn eq(&self, __arg_0: &Variant) -> bool

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

fn ne(&self, __arg_0: &Variant) -> bool

This method tests for !=.