Struct Entry
pub struct Entry {
pub page_ref: Option<String>,
pub started_date_time: DateTime<Utc>,
pub time: u64,
pub request: Request,
pub response: Option<Response>,
pub cache: Cache,
pub timings: Timings,
pub server_address: Option<SocketAddress>,
pub connection: Option<String>,
pub comment: Option<Cow<'static, str>>,
}
Expand description
This object represents a single exportred request with its response and metadata.
Fields§
§page_ref: Option<String>
Reference to the parent page.
Leave out this field if the application does not support grouping by pages.
started_date_time: DateTime<Utc>
Date and time stamp of the request start (ISO 8601 - YYYY-MM-DDThh:mm:ss.sTZD)
time: u64
Total elapsed time of the request in milliseconds.
This is the sum of all timings available in the timings object (i.e. not including -1 values).
request: Request
Detailed info about the request.
response: Option<Response>
Detailed info about the response.
cache: Cache
Info about cache usage.
timings: Timings
Detailed timing info about request/response round trip.
server_address: Option<SocketAddress>
IP address of the server that was connected
(result of DNS resolution).
connection: Option<String>
Unique ID of the parent TCP/IP connection, can be the client or server port number.
Note that a port number doesn’t have to be unique identifier in cases where the port is shared for more connections. If the port isn’t available for the application, any other unique connection ID can be used instead (e.g. connection index).
Leave out this field if the application doesn’t support this info.
comment: Option<Cow<'static, str>>
A comment provided by the user or the application.
Trait Implementations§
§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Entry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Entry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl Serialize for Entry
impl Serialize for Entry
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§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> ⓘ
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> ⓘ
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 more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more