Struct reproto::backend::models::TypeBody [] [src]

pub struct TypeBody {
    pub name: String,
    pub fields: Vec<Token<Field>>,
    pub codes: Vec<Token<Code>>,
}

Fields

Methods

impl TypeBody
[src]

Trait Implementations

impl BodyLike for TypeBody
[src]

Insert the given field, or return the already existing field if it already exists.

impl Debug for TypeBody
[src]

Formats the value using the given formatter.

impl Clone for TypeBody
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more