[][src]Struct qapi_qmp::object_add

pub struct object_add {
    pub id: String,
    pub qom_type: String,
    pub props: Option<Dictionary>,
    pub arguments: Dictionary,
}

Fields

id: Stringqom_type: Stringprops: Option<Dictionary>arguments: Dictionary

Implementations

impl object_add[src]

pub fn new<T: Into<StdString>, I: Into<StdString>, P: IntoIterator<Item = (StdString, Any)>>(
    qom_type: T,
    id: I,
    props: P
) -> Self
[src]

Trait Implementations

impl Clone for object_add[src]

impl Command for object_add[src]

type Ok = Empty

impl Debug for object_add[src]

impl<'de> Deserialize<'de> for object_add[src]

impl QmpCommand for object_add[src]

impl Serialize for object_add[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.