pub struct RequestSummary {
pub request_id: String,
pub method: String,
pub route: String,
pub module: String,
pub status: u16,
pub ip_hash: String,
pub ua_family: String,
}Expand description
The per-request span’s fields as plain data, attached to every
response’s extensions by the request-id layer so a runtime with no
tracing dispatcher — Cloudflare — can still log them. route is the
matched pattern, never the raw path ("" when nothing matched). There
is no duration_ms: wasm32 has no monotonic clock to measure it with.
Fields§
§request_id: String§method: String§route: String§module: String§status: u16§ip_hash: String§ua_family: StringTrait Implementations§
Source§impl Clone for RequestSummary
impl Clone for RequestSummary
Source§impl Debug for RequestSummary
impl Debug for RequestSummary
impl Eq for RequestSummary
Source§impl PartialEq for RequestSummary
impl PartialEq for RequestSummary
Source§impl Serialize for RequestSummary
impl Serialize for RequestSummary
impl StructuralPartialEq for RequestSummary
Auto Trait Implementations§
impl Freeze for RequestSummary
impl RefUnwindSafe for RequestSummary
impl Send for RequestSummary
impl Sync for RequestSummary
impl Unpin for RequestSummary
impl UnsafeUnpin for RequestSummary
impl UnwindSafe for RequestSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.