pub struct NetworkRequestRecord {
pub url: String,
pub http_method: HttpMethod,
pub start_time_us: u128,
pub time_to_request_completed_us: u128,
pub time_to_response_initiated_us: Option<u128>,
pub time_to_response_completed_us: Option<u128>,
pub request_payload_bytes: Option<u64>,
pub response_payload_bytes: Option<u64>,
pub response_code: Option<u16>,
pub response_content_type: Option<String>,
pub app_check_token: Option<String>,
}Expand description
Captured HTTP request metadata that mirrors the payload sent by the JS SDK when batching network traces to the backend.
Fields§
§url: String§http_method: HttpMethod§start_time_us: u128§time_to_request_completed_us: u128§time_to_response_initiated_us: Option<u128>§time_to_response_completed_us: Option<u128>§request_payload_bytes: Option<u64>§response_payload_bytes: Option<u64>§response_code: Option<u16>§response_content_type: Option<String>§app_check_token: Option<String>Trait Implementations§
Source§impl Clone for NetworkRequestRecord
impl Clone for NetworkRequestRecord
Source§fn clone(&self) -> NetworkRequestRecord
fn clone(&self) -> NetworkRequestRecord
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 NetworkRequestRecord
impl Debug for NetworkRequestRecord
Source§impl PartialEq for NetworkRequestRecord
impl PartialEq for NetworkRequestRecord
impl StructuralPartialEq for NetworkRequestRecord
Auto Trait Implementations§
impl Freeze for NetworkRequestRecord
impl RefUnwindSafe for NetworkRequestRecord
impl Send for NetworkRequestRecord
impl Sync for NetworkRequestRecord
impl Unpin for NetworkRequestRecord
impl UnwindSafe for NetworkRequestRecord
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