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

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for Endpoint<'input>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'input> Eq for Endpoint<'input>
[src]

Auto Trait Implementations

impl<'input> Send for Endpoint<'input>

impl<'input> Sync for Endpoint<'input>