Struct reproto_core::RpEndpoint [] [src]

pub struct RpEndpoint {
    pub ident: String,
    pub safe_ident: Option<String>,
    pub name: Option<String>,
    pub comment: Vec<String>,
    pub attributes: Attributes,
    pub arguments: LinkedHashMap<String, (Loc<String>, Loc<RpChannel>)>,
    pub response: Option<Loc<RpChannel>>,
    pub http: RpEndpointHttp,
}

Fields

Name of the endpoint. Guaranteed to be unique.

Safe identifier of the endpoint, avoiding any language-specific keywords.

Name of the endpoint. This is the name which is being sent over the wire.

Comments for documentation.

Attributes associated with the endpoint.

Request type that this endpoint expects.

Response type that this endpoint responds with.

HTTP configuration.

Methods

impl RpEndpoint
[src]

Important traits for Vec<u8>
[src]

[src]

Get the name of the endpoint.

[src]

Safe identifier of the endpoint.

[src]

Get the identifier of the endpoint.

[src]

If endpoint has metadata for HTTP.

Trait Implementations

impl Debug for RpEndpoint
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RpEndpoint
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for RpEndpoint

impl !Sync for RpEndpoint