Enum qapi_qmp::SchemaInfo
source · [−]pub enum SchemaInfo {
array {
base: SchemaInfoBase,
array: SchemaInfoArray,
},
command {
base: SchemaInfoBase,
command: SchemaInfoCommand,
},
event {
base: SchemaInfoBase,
event: SchemaInfoEvent,
},
object {
base: SchemaInfoBase,
object: SchemaInfoObject,
},
alternate {
base: SchemaInfoBase,
alternate: SchemaInfoAlternate,
},
enum_ {
base: SchemaInfoBase,
enum_: SchemaInfoEnum,
},
builtin {
base: SchemaInfoBase,
builtin: SchemaInfoBuiltin,
},
}Variants
array
command
event
object
alternate
enum_
builtin
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 more
sourceimpl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more