Struct reproto_core::RpEndpoint [] [src]

pub struct RpEndpoint<F: 'static> where
    F: Flavor
{ pub ident: String, pub safe_ident: Option<String>, pub name: Option<String>, pub comment: Vec<String>, pub attributes: Attributes, pub arguments: Vec<RpEndpointArgument<F>>, pub request: Option<RpEndpointArgument<F>>, pub response: Option<Loc<RpChannel<F>>>, pub http: RpEndpointHttp<F>, }

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.

Request type that this endpoint accepts with.

Response type that this endpoint responds with.

HTTP configuration.

Methods

impl<F: 'static> RpEndpoint<F> where
    F: Flavor
[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<F: Debug + 'static> Debug for RpEndpoint<F> where
    F: Flavor
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone + 'static> Clone for RpEndpoint<F> where
    F: Flavor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: 'static, T> Translate<T> for RpEndpoint<F> where
    F: Flavor,
    T: Translator<Source = F>, 
[src]

[src]

Translate into different flavor.

Auto Trait Implementations

impl<F> !Send for RpEndpoint<F>

impl<F> !Sync for RpEndpoint<F>