Struct parse_qapi::Enum [] [src]

pub struct Enum {
    pub name: String,
    pub fields: JsonValue,
}

Fields

name: String fields: JsonValue

Methods

impl Enum
[src]

fn to_rust_string(self) -> String

Trait Implementations

impl PartialEq for Enum
[src]

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

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

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

This method tests for !=.

impl Debug for Enum
[src]

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

Formats the value using the given formatter.