Struct ClientRequest

Source
pub struct ClientRequest<'i> {
Show 26 fields pub vxid: u32, pub session: Option<SessionInfo<'i>>, pub remote_address: Address<'i>, pub start_timestamp: f64, pub end_timestamp: Option<f64>, pub handling: &'i str, pub request: Option<HttpRequest>, pub response: Option<HttpResponse>, pub backend_access: Option<BackendAccess<'i>>, pub process_duration: Option<f64>, pub fetch_duration: Option<f64>, pub ttfb_duration: f64, pub serve_duration: f64, pub recv_header_bytes: u64, pub recv_body_bytes: u64, pub recv_total_bytes: u64, pub sent_header_bytes: u64, pub sent_body_bytes: u64, pub sent_total_bytes: u64, pub esi_count: u64, pub compression: Option<Compression<'i>>, pub restart_count: u64, pub restart_log: Option<Log<'i>>, pub log: Log<'i>, pub request_header_index: Option<IndexedHeader>, pub response_header_index: Option<IndexedHeader>,
}

Fields§

§vxid: u32§session: Option<SessionInfo<'i>>§remote_address: Address<'i>§start_timestamp: f64§end_timestamp: Option<f64>§handling: &'i str§request: Option<HttpRequest>§response: Option<HttpResponse>§backend_access: Option<BackendAccess<'i>>§process_duration: Option<f64>§fetch_duration: Option<f64>§ttfb_duration: f64§serve_duration: f64§recv_header_bytes: u64§recv_body_bytes: u64§recv_total_bytes: u64§sent_header_bytes: u64§sent_body_bytes: u64§sent_total_bytes: u64§esi_count: u64§compression: Option<Compression<'i>>§restart_count: u64§restart_log: Option<Log<'i>>§log: Log<'i>§request_header_index: Option<IndexedHeader>§response_header_index: Option<IndexedHeader>

Trait Implementations§

Source§

impl<'i> Debug for ClientRequest<'i>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de: 'i, 'i> Deserialize<'de> for ClientRequest<'i>

Source§

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<'i> Freeze for ClientRequest<'i>

§

impl<'i> RefUnwindSafe for ClientRequest<'i>

§

impl<'i> Send for ClientRequest<'i>

§

impl<'i> Sync for ClientRequest<'i>

§

impl<'i> Unpin for ClientRequest<'i>

§

impl<'i> UnwindSafe for ClientRequest<'i>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,