Struct parse_qapi::Union [] [src]

pub struct Union {
    pub name: String,
    pub discriminator: JsonValue,
    pub data: JsonValue,
}

Fields

name: String discriminator: JsonValue data: JsonValue

Methods

impl Union
[src]

fn to_rust_string(self) -> String

Trait Implementations

impl PartialEq for Union
[src]

fn eq(&self, __arg_0: &Union) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Union) -> bool

This method tests for !=.

impl Debug for Union
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.