Enum qapi_qmp::SchemaInfo
source · [−]pub enum SchemaInfo {
alternate {
base: SchemaInfoBase,
alternate: SchemaInfoAlternate,
},
array {
base: SchemaInfoBase,
array: SchemaInfoArray,
},
builtin {
base: SchemaInfoBase,
builtin: SchemaInfoBuiltin,
},
command {
base: SchemaInfoBase,
command: SchemaInfoCommand,
},
enum_ {
base: SchemaInfoBase,
enum_: SchemaInfoEnum,
},
event {
base: SchemaInfoBase,
event: SchemaInfoEvent,
},
object {
base: SchemaInfoBase,
object: SchemaInfoObject,
},
}Variants
alternate
array
builtin
command
enum_
event
object
Implementations
sourceimpl SchemaInfo
impl SchemaInfo
pub fn meta_type(&self) -> SchemaMetaType
Trait Implementations
sourceimpl Clone for SchemaInfo
impl Clone for SchemaInfo
sourcefn clone(&self) -> SchemaInfo
fn clone(&self) -> SchemaInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SchemaInfo
impl Debug for SchemaInfo
sourceimpl<'de> Deserialize<'de> for SchemaInfo
impl<'de> Deserialize<'de> for SchemaInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<(SchemaInfoAlternate, SchemaInfoBase)> for SchemaInfo
impl From<(SchemaInfoAlternate, SchemaInfoBase)> for SchemaInfo
sourcefn from(val: (SchemaInfoAlternate, SchemaInfoBase)) -> Self
fn from(val: (SchemaInfoAlternate, SchemaInfoBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(SchemaInfoArray, SchemaInfoBase)> for SchemaInfo
impl From<(SchemaInfoArray, SchemaInfoBase)> for SchemaInfo
sourcefn from(val: (SchemaInfoArray, SchemaInfoBase)) -> Self
fn from(val: (SchemaInfoArray, SchemaInfoBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(SchemaInfoBuiltin, SchemaInfoBase)> for SchemaInfo
impl From<(SchemaInfoBuiltin, SchemaInfoBase)> for SchemaInfo
sourcefn from(val: (SchemaInfoBuiltin, SchemaInfoBase)) -> Self
fn from(val: (SchemaInfoBuiltin, SchemaInfoBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(SchemaInfoCommand, SchemaInfoBase)> for SchemaInfo
impl From<(SchemaInfoCommand, SchemaInfoBase)> for SchemaInfo
sourcefn from(val: (SchemaInfoCommand, SchemaInfoBase)) -> Self
fn from(val: (SchemaInfoCommand, SchemaInfoBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(SchemaInfoEnum, SchemaInfoBase)> for SchemaInfo
impl From<(SchemaInfoEnum, SchemaInfoBase)> for SchemaInfo
sourcefn from(val: (SchemaInfoEnum, SchemaInfoBase)) -> Self
fn from(val: (SchemaInfoEnum, SchemaInfoBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(SchemaInfoEvent, SchemaInfoBase)> for SchemaInfo
impl From<(SchemaInfoEvent, SchemaInfoBase)> for SchemaInfo
sourcefn from(val: (SchemaInfoEvent, SchemaInfoBase)) -> Self
fn from(val: (SchemaInfoEvent, SchemaInfoBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(SchemaInfoObject, SchemaInfoBase)> for SchemaInfo
impl From<(SchemaInfoObject, SchemaInfoBase)> for SchemaInfo
sourcefn from(val: (SchemaInfoObject, SchemaInfoBase)) -> Self
fn from(val: (SchemaInfoObject, SchemaInfoBase)) -> Self
Converts to this type from the input type.
sourceimpl Serialize for SchemaInfo
impl Serialize for SchemaInfo
Auto Trait Implementations
impl RefUnwindSafe for SchemaInfo
impl Send for SchemaInfo
impl Sync for SchemaInfo
impl Unpin for SchemaInfo
impl UnwindSafe for SchemaInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more