pub struct RequestRecord {Show 27 fields
pub id: u64,
pub kind: RecordKind,
pub time_ms: u64,
pub method: String,
pub uri: String,
pub status: u16,
pub duration_ms: f64,
pub ip: Option<String>,
pub details: Vec<(String, String)>,
pub route: Option<String>,
pub request_headers: Vec<(String, String)>,
pub response_headers: Vec<(String, String)>,
pub inertia_component: Option<String>,
pub inertia_props: Option<Value>,
pub inertia_page_file: Option<String>,
pub request_body: Option<Value>,
pub cookies: Vec<(String, String)>,
pub session: Option<Value>,
pub user: Option<Value>,
pub environment: Option<Value>,
pub memory_peak_bytes: Option<u64>,
pub queries: Vec<Query>,
pub queries_excluded: usize,
pub messages: Vec<Message>,
pub activity: Vec<Activity>,
pub measures: Vec<Measure>,
pub custom: Vec<CustomTab>,
}Fields§
§id: u64§kind: RecordKind§time_ms: u64§method: String§uri: String§status: u16§duration_ms: f64§ip: Option<String>§details: Vec<(String, String)>§route: Option<String>§request_headers: Vec<(String, String)>§response_headers: Vec<(String, String)>§inertia_component: Option<String>§inertia_props: Option<Value>§inertia_page_file: Option<String>§request_body: Option<Value>§session: Option<Value>§user: Option<Value>§environment: Option<Value>§memory_peak_bytes: Option<u64>§queries: Vec<Query>§queries_excluded: usize§messages: Vec<Message>§activity: Vec<Activity>§measures: Vec<Measure>§custom: Vec<CustomTab>Implementations§
Source§impl RequestRecord
impl RequestRecord
Trait Implementations§
Source§impl Clone for RequestRecord
impl Clone for RequestRecord
Source§impl Debug for RequestRecord
impl Debug for RequestRecord
Source§impl<'de> Deserialize<'de> for RequestRecord
impl<'de> Deserialize<'de> for RequestRecord
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 Forget for RequestRecord
impl Freeze for RequestRecordwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
PhantomData<Query>: Freeze,
PhantomData<Message>: Freeze,
PhantomData<Activity>: Freeze,
PhantomData<Measure>: Freeze,
PhantomData<CustomTab>: Freeze,
impl Move for RequestRecord
impl RefUnwindSafe for RequestRecord
impl Send for RequestRecord
impl Sync for RequestRecord
impl Unpin for RequestRecord
impl UnsafeUnpin for RequestRecordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
PhantomData<Message>: UnsafeUnpin,
PhantomData<Activity>: UnsafeUnpin,
PhantomData<Measure>: UnsafeUnpin,
PhantomData<CustomTab>: UnsafeUnpin,
impl UnwindSafe for RequestRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<K> ForeignKey<K> for K
impl<K> ForeignKey<K> for K
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoViewData for Twhere
T: Serialize,
impl<T> IntoViewData for Twhere
T: Serialize,
Source§fn into_view_data(self) -> ViewData
fn into_view_data(self) -> ViewData
Converts the value into view data.