Struct qapi_qmp::device_add
[−]
[src]
pub struct device_add(pub Dictionary);
Methods
impl device_add
[src]
pub fn new<P: IntoIterator<Item = (String, Any)>>(
driver: String,
id: Option<String>,
bus: Option<String>,
props: P
) -> Self
[src]
driver: String,
id: Option<String>,
bus: Option<String>,
props: P
) -> Self
Trait Implementations
impl Debug for device_add
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for device_add
[src]
fn clone(&self) -> device_add
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more