Struct git_transport::client::http::GetResponse
source · [−]pub struct GetResponse<H, B> {
pub headers: H,
pub body: B,
}
Expand description
The return value of Http::get().
Fields
headers: H
The response headers.
body: B
The response body.
Trait Implementations
sourceimpl<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>
sourcefn from(v: PostResponse<A, B, C>) -> Self
fn from(v: PostResponse<A, B, C>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<H, B> RefUnwindSafe for GetResponse<H, B> where
B: RefUnwindSafe,
H: RefUnwindSafe,
impl<H, B> Send for GetResponse<H, B> where
B: Send,
H: Send,
impl<H, B> Sync for GetResponse<H, B> where
B: Sync,
H: Sync,
impl<H, B> Unpin for GetResponse<H, B> where
B: Unpin,
H: Unpin,
impl<H, B> UnwindSafe for GetResponse<H, B> where
B: UnwindSafe,
H: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more