Struct qapi_parser::spec::CombinedUnion
source · [−]pub struct CombinedUnion {
pub id: String,
pub base: DataOrType,
pub discriminator: Option<String>,
pub data: Data,
pub conditional: Option<Conditional>,
}
Fields
id: String
base: DataOrType
discriminator: Option<String>
data: Data
conditional: Option<Conditional>
Trait Implementations
sourceimpl Clone for CombinedUnion
impl Clone for CombinedUnion
sourcefn clone(&self) -> CombinedUnion
fn clone(&self) -> CombinedUnion
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 CombinedUnion
impl Debug for CombinedUnion
sourceimpl<'de> Deserialize<'de> for CombinedUnion
impl<'de> Deserialize<'de> for CombinedUnion
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
Auto Trait Implementations
impl RefUnwindSafe for CombinedUnion
impl Send for CombinedUnion
impl Sync for CombinedUnion
impl Unpin for CombinedUnion
impl UnwindSafe for CombinedUnion
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