Struct reproto_core::RpEndpointHttp
[−]
[src]
pub struct RpEndpointHttp {
pub path: Option<RpPathSpec>,
pub body: Option<String>,
pub method: Option<RpHttpMethod>,
pub accept: RpAccept,
}Fields
path: Option<RpPathSpec>
Path specification.
body: Option<String>
Argument that is the body of the request.
method: Option<RpHttpMethod>
HTTP method.
accept: RpAccept
Accepted media types.
Trait Implementations
impl Debug for RpEndpointHttp[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for RpEndpointHttp[src]
fn clone(&self) -> RpEndpointHttp[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Default for RpEndpointHttp[src]
fn default() -> RpEndpointHttp[src]
Returns the "default value" for a type. Read more