Struct git_transport::client::http::PostResponse
source · [−]pub struct PostResponse<H, B, PB> {
pub post_body: PB,
pub headers: H,
pub body: B,
}
Expand description
The return value of Http::post().
Fields
post_body: PB
The body to post to the server as part of the request.
Note: Implementations should drop the handle to avoid deadlocks.
headers: H
The headers of the post response.
body: B
The body of the post response.
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, PB> RefUnwindSafe for PostResponse<H, B, PB> where
B: RefUnwindSafe,
H: RefUnwindSafe,
PB: RefUnwindSafe,
impl<H, B, PB> Send for PostResponse<H, B, PB> where
B: Send,
H: Send,
PB: Send,
impl<H, B, PB> Sync for PostResponse<H, B, PB> where
B: Sync,
H: Sync,
PB: Sync,
impl<H, B, PB> Unpin for PostResponse<H, B, PB> where
B: Unpin,
H: Unpin,
PB: Unpin,
impl<H, B, PB> UnwindSafe for PostResponse<H, B, PB> where
B: UnwindSafe,
H: UnwindSafe,
PB: 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