Enum dbus_message_parser::value::Value[][src]

pub enum Value {
Show 17 variants Byte(u8), Boolean(bool), Int16(i16), Uint16(u16), Int32(i32), Uint32(u32), Int64(i64), Uint64(u64), Double(f64), String(String), ObjectPath(ObjectPath), Signature(Vec<Type>), Array(Array), Struct(Struct), DictEntry(Box<(Value, Value)>), Variant(Box<Value>), UnixFD(RawFd),
}
Expand description

An enum representing a DBus value.

Variants

Byte(u8)

Tuple Fields

0: u8

Boolean(bool)

Tuple Fields

0: bool

Int16(i16)

Tuple Fields

0: i16

Uint16(u16)

Tuple Fields

0: u16

Int32(i32)

Tuple Fields

0: i32

Uint32(u32)

Tuple Fields

0: u32

Int64(i64)

Tuple Fields

0: i64

Uint64(u64)

Tuple Fields

0: u64

Double(f64)

Tuple Fields

0: f64

String(String)

Tuple Fields

0: String

ObjectPath(ObjectPath)

Tuple Fields

Signature(Vec<Type>)

Tuple Fields

0: Vec<Type>

Array(Array)

Tuple Fields

0: Array

Struct(Struct)

Tuple Fields

0: Struct

DictEntry(Box<(Value, Value)>)

Tuple Fields

Variant(Box<Value>)

Tuple Fields

0: Box<Value>

UnixFD(RawFd)

Tuple Fields

0: RawFd

Implementations

Returns the Type of the Value.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.