[][src]Enum qapi_qmp::SchemaInfo

pub enum SchemaInfo {
    object {
        name: String,
        features: Option<Vec<String>>,
        object: SchemaInfoObject,
    },
    enum_ {
        name: String,
        features: Option<Vec<String>>,
        enum_: SchemaInfoEnum,
    },
    alternate {
        name: String,
        features: Option<Vec<String>>,
        alternate: SchemaInfoAlternate,
    },
    array {
        name: String,
        features: Option<Vec<String>>,
        array: SchemaInfoArray,
    },
    event {
        name: String,
        features: Option<Vec<String>>,
        event: SchemaInfoEvent,
    },
    command {
        name: String,
        features: Option<Vec<String>>,
        command: SchemaInfoCommand,
    },
    builtin {
        name: String,
        features: Option<Vec<String>>,
        builtin: SchemaInfoBuiltin,
    },
}

Variants

object

Fields of object

name: Stringfeatures: Option<Vec<String>>object: SchemaInfoObject
enum_

Fields of enum_

name: Stringfeatures: Option<Vec<String>>enum_: SchemaInfoEnum
alternate

Fields of alternate

name: Stringfeatures: Option<Vec<String>>alternate: SchemaInfoAlternate
array

Fields of array

name: Stringfeatures: Option<Vec<String>>array: SchemaInfoArray
event

Fields of event

name: Stringfeatures: Option<Vec<String>>event: SchemaInfoEvent
command

Fields of command

name: Stringfeatures: Option<Vec<String>>command: SchemaInfoCommand
builtin

Fields of builtin

name: Stringfeatures: Option<Vec<String>>builtin: SchemaInfoBuiltin

Implementations

impl SchemaInfo[src]

Trait Implementations

impl Clone for SchemaInfo[src]

impl Debug for SchemaInfo[src]

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

impl Serialize for SchemaInfo[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.