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
Endpoint
Fields of Endpoint
Returns
Fields of Returns
Accepts
Fields of Accepts
Methods
Trait Implementations
Formats the value using the given formatter.