pub struct BatchResponse {
pub request_id: String,
pub result: Result<Response>,
pub duration: Duration,
}Expand description
Result of a batch request
Fields§
§request_id: StringRequest ID this response corresponds to
result: Result<Response>The HTTP response (or error)
duration: DurationTime taken for this request
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BatchResponse
impl !UnwindSafe for BatchResponse
impl Freeze for BatchResponse
impl Send for BatchResponse
impl Sync for BatchResponse
impl Unpin for BatchResponse
impl UnsafeUnpin for BatchResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more