Trait stellar_client::endpoint::IntoRequest[][src]

pub trait IntoRequest {
    type Response: DeserializeOwned;
    fn into_request(self, host: &str) -> Result<Request<Body>>;
}

Declares the definition of a stellar endpoint and the return type.

Associated Types

The deserializable type that is expected to come back from the stellar server.

Required Methods

The request body to be sent to stellar. Generally this is just a () unit. Converts the implementing struct into an http request.

Implementors