Enum dbus_serialize::types::BasicValue [-] [+] [src]

pub enum BasicValue {
    Byte(u8),
    Boolean(bool),
    Int16(i16),
    Uint16(u16),
    Int32(i32),
    Uint32(u32),
    Int64(i64),
    Uint64(u64),
    String(String),
    ObjectPath(Path),
    Signature(Signature),
}

BasicValue covers the "basic" D-Bus types, that is those that are allowed to be used as keys in a dictionary.

Variants

Byte
Boolean
Int16
Uint16
Int32
Uint32
Int64
Uint64
String
ObjectPath
Signature

Methods

impl BasicValue

fn get_signature(&self) -> &str

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

Trait Implementations

Derived Implementations

impl Clone for BasicValue

fn clone(&self) -> BasicValue

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

impl Hash for BasicValue

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for BasicValue

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

impl Eq for BasicValue

impl PartialEq for BasicValue

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

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