Struct reproto_ast::Endpoint
[−]
[src]
pub struct Endpoint<'input> { pub id: Loc<Cow<'input, str>>, pub alias: Option<String>, pub arguments: Vec<EndpointArgument<'input>>, pub response: Option<Loc<Channel<'input>>>, }
An endpoint
ⓘThis example is not tested
<id>(<arguments>) -> <response> as <alias> { <options> }
Fields
id: Loc<Cow<'input, str>>
alias: Option<String>
arguments: Vec<EndpointArgument<'input>>
response: Option<Loc<Channel<'input>>>
Trait Implementations
impl<'input> Debug for Endpoint<'input>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'input> PartialEq for Endpoint<'input>
[src]
fn eq(&self, __arg_0: &Endpoint<'input>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Endpoint<'input>) -> bool
[src]
This method tests for !=
.