pub struct BatchResponse {
pub request_id: String,
pub result: Result<Response>,
pub duration: Duration,
}
Expand description
Result of a batch request
Fields§
§request_id: String
Request ID this response corresponds to
result: Result<Response>
The HTTP response (or error)
duration: Duration
Time taken for this request
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchResponse
impl !RefUnwindSafe for BatchResponse
impl Send for BatchResponse
impl Sync for BatchResponse
impl Unpin for BatchResponse
impl !UnwindSafe 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