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(u8)Boolean(bool)Int16(i16)Uint16(u16)Int32(i32)Uint32(u32)Int64(i64)Uint64(u64)String(String)ObjectPath(Path)Signature(Signature)Methods
impl BasicValue[src]
fn get_signature(&self) -> &str
Returns the D-Bus type signature that corresponds to the Value
Trait Implementations
impl Clone for BasicValue[src]
fn clone(&self) -> BasicValue
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 Hash for BasicValue[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Debug for BasicValue[src]
impl Eq for BasicValue[src]
impl PartialEq for BasicValue[src]
fn eq(&self, __arg_0: &BasicValue) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &BasicValue) -> bool
This method tests for !=.