Struct git_transport::client::http::GetResponse
source · pub struct GetResponse<H, B> {
pub headers: H,
pub body: B,
}
Available on crate features
blocking-client
and http-client
only.Expand description
The return value of Http::get().
Fields§
§headers: H
The response headers.
body: B
The response body.
Trait Implementations§
source§impl<A, B, C> From<PostResponse<A, B, C>> for GetResponse<A, B>
impl<A, B, C> From<PostResponse<A, B, C>> for GetResponse<A, B>
source§fn from(v: PostResponse<A, B, C>) -> Self
fn from(v: PostResponse<A, B, C>) -> Self
Converts to this type from the input type.