pub struct RequestEndData {
pub request_id: Uuid,
pub elapsed: Duration,
pub uri: String,
pub method: String,
pub status: StatusCode,
}
Expand description
Request end arguments container
§Properties
request_id
- unique identifier of a request, identifies connection between request start and end.elapsed
- elapsed time between request start and end hook.uri
- uri of request.method
- http method of request.status
- http status code of response.
Fields§
§request_id: Uuid
§elapsed: Duration
§uri: String
§method: String
§status: StatusCode
Auto Trait Implementations§
impl Freeze for RequestEndData
impl RefUnwindSafe for RequestEndData
impl Send for RequestEndData
impl Sync for RequestEndData
impl Unpin for RequestEndData
impl UnwindSafe for RequestEndData
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