Enum reproto_parser::ast::ServiceNested [] [src]

pub enum ServiceNested<'input> {
    Endpoint {
        method: Option<Loc<&'input str>>,
        path: Option<Loc<PathSpec<'input>>>,
        comment: Vec<&'input str>,
        options: Vec<Loc<OptionDecl<'input>>>,
        children: Vec<ServiceNested<'input>>,
    },
    Returns {
        comment: Vec<&'input str>,
        ty: Option<Loc<RpType>>,
        options: Vec<Loc<OptionDecl<'input>>>,
    },
    Accepts {
        comment: Vec<&'input str>,
        ty: Loc<RpType>,
        options: Vec<Loc<OptionDecl<'input>>>,
    },
}

Variants

Fields of Endpoint

Fields of Returns

Fields of Accepts

Methods

impl<'input> ServiceNested<'input>
[src]

Trait Implementations

impl<'input> Debug for ServiceNested<'input>
[src]

Formats the value using the given formatter.