Struct qapi_parser::spec::CombinedUnion
source · pub struct CombinedUnion {
pub id: String,
pub base: DataOrType,
pub discriminator: Option<String>,
pub data: Data,
}
Fields§
§id: String
§base: DataOrType
§discriminator: Option<String>
§data: Data
Trait Implementations§
source§impl Clone for CombinedUnion
impl Clone for CombinedUnion
source§fn clone(&self) -> CombinedUnion
fn clone(&self) -> CombinedUnion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CombinedUnion
impl Debug for CombinedUnion
source§impl<'de> Deserialize<'de> for CombinedUnion
impl<'de> Deserialize<'de> for CombinedUnion
source§fn 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