pub struct UnknownPathRequest {
pub timestamp: DateTime<Utc>,
pub method: String,
pub path: String,
pub client_ip: String,
pub query: String,
pub status: u16,
}Expand description
One unmatched-path request — captured by the HTTP server’s fallback when no registered route matches.
Fields§
§timestamp: DateTime<Utc>When the request was rejected.
method: StringHTTP method (uppercase).
path: StringRaw request path (not normalised to any spec template).
client_ip: StringClient IP if available, else "unknown".
query: StringQuery string portion, if any.
status: u16HTTP status the server actually returned for this request.
Normally 404; in shadow mode (Issue #79 round 14) the server
returns 200 instead but still records the unknown path here,
so the column reflects what the client saw.
Trait Implementations§
Source§impl Clone for UnknownPathRequest
impl Clone for UnknownPathRequest
Source§fn clone(&self) -> UnknownPathRequest
fn clone(&self) -> UnknownPathRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnknownPathRequest
impl Debug for UnknownPathRequest
Source§impl<'de> Deserialize<'de> for UnknownPathRequest
impl<'de> Deserialize<'de> for UnknownPathRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UnknownPathRequest
impl RefUnwindSafe for UnknownPathRequest
impl Send for UnknownPathRequest
impl Sync for UnknownPathRequest
impl Unpin for UnknownPathRequest
impl UnsafeUnpin for UnknownPathRequest
impl UnwindSafe for UnknownPathRequest
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