pub struct ResponseEvent {
pub url: String,
pub status_code: u16,
pub bytes: u64,
pub duration_ms: u64,
}Expand description
Response event
Fields§
§url: StringResponse URL
status_code: u16HTTP status code
bytes: u64Response size in bytes
duration_ms: u64Request duration in milliseconds
Trait Implementations§
Source§impl Debug for ResponseEvent
impl Debug for ResponseEvent
Auto Trait Implementations§
impl Freeze for ResponseEvent
impl RefUnwindSafe for ResponseEvent
impl Send for ResponseEvent
impl Sync for ResponseEvent
impl Unpin for ResponseEvent
impl UnwindSafe for ResponseEvent
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