pub struct HttpDebugLog {Show 18 fields
pub request_body_len: Option<usize>,
pub upstream_request_body_len: Option<usize>,
pub upstream_headers_ms: Option<u64>,
pub upstream_first_chunk_ms: Option<u64>,
pub upstream_body_read_ms: Option<u64>,
pub upstream_error_class: Option<String>,
pub upstream_error_hint: Option<String>,
pub upstream_cf_ray: Option<String>,
pub client_uri: String,
pub target_url: String,
pub client_headers: Vec<HeaderEntry>,
pub upstream_request_headers: Vec<HeaderEntry>,
pub auth_resolution: Option<AuthResolutionLog>,
pub client_body: Option<BodyPreview>,
pub upstream_request_body: Option<BodyPreview>,
pub upstream_response_headers: Option<Vec<HeaderEntry>>,
pub upstream_response_body: Option<BodyPreview>,
pub upstream_error: Option<String>,
}Fields§
§request_body_len: Option<usize>§upstream_request_body_len: Option<usize>§upstream_headers_ms: Option<u64>Time spent waiting for upstream response headers (ms), measured from just before sending the upstream request.
upstream_first_chunk_ms: Option<u64>Time to first upstream response body chunk (ms), measured from just before sending the upstream request.
upstream_body_read_ms: Option<u64>Time spent reading upstream response body to completion (ms). Only meaningful for non-stream responses.
upstream_error_class: Option<String>A coarse classification for upstream non-2xx responses (e.g. Cloudflare challenge).
upstream_error_hint: Option<String>A human-readable hint to help diagnose upstream non-2xx responses.
upstream_cf_ray: Option<String>Cloudflare request id when present (from cf-ray response header).
client_uri: String§target_url: String§client_headers: Vec<HeaderEntry>§upstream_request_headers: Vec<HeaderEntry>§auth_resolution: Option<AuthResolutionLog>§client_body: Option<BodyPreview>§upstream_request_body: Option<BodyPreview>§upstream_response_headers: Option<Vec<HeaderEntry>>§upstream_response_body: Option<BodyPreview>§upstream_error: Option<String>Trait Implementations§
Source§impl Clone for HttpDebugLog
impl Clone for HttpDebugLog
Source§fn clone(&self) -> HttpDebugLog
fn clone(&self) -> HttpDebugLog
Returns a duplicate of the value. Read more
1.0.0 · 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 HttpDebugLog
impl Debug for HttpDebugLog
Source§impl Serialize for HttpDebugLog
impl Serialize for HttpDebugLog
Source§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,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for HttpDebugLog
impl RefUnwindSafe for HttpDebugLog
impl Send for HttpDebugLog
impl Sync for HttpDebugLog
impl Unpin for HttpDebugLog
impl UnwindSafe for HttpDebugLog
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<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 more