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
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