Struct reproto_core::RpEnumBody [] [src]

pub struct RpEnumBody {
    pub name: String,
    pub comment: Vec<String>,
    pub variants: Vec<Loc<Rc<RpEnumVariant>>>,
    pub fields: Vec<Loc<RpField>>,
    pub codes: Vec<Loc<RpCode>>,
    pub match_decl: RpMatchDecl,
    pub serialized_as: Option<Loc<String>>,
    pub serialized_as_name: bool,
}

Fields

Trait Implementations

impl Debug for RpEnumBody
[src]

Formats the value using the given formatter.

impl Clone for RpEnumBody
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Merge for RpEnumBody
[src]

Merge the current model with another.