Struct reproto_core::RpEndpointHttp [] [src]

pub struct RpEndpointHttp<F: 'static> where
    F: Flavor
{ pub path: Option<RpPathSpec<F>>, pub body: Option<RpEndpointArgument<F>>, pub method: Option<RpHttpMethod>, pub accept: RpAccept, }

Fields

Path specification.

Argument that is the body of the request.

HTTP method.

Accepted media types.

Trait Implementations

impl<F: Debug + 'static> Debug for RpEndpointHttp<F> where
    F: Flavor
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Returns the "default value" for a type. Read more

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

[src]

Translate into different flavor.

Auto Trait Implementations

impl<F> !Send for RpEndpointHttp<F>

impl<F> !Sync for RpEndpointHttp<F>