pub struct HttpEvent {
pub timestamp_ms: u64,
pub method: String,
pub url: String,
pub status_code: Option<u16>,
pub content_type: Option<String>,
pub duration_ms: Option<f64>,
pub size_bytes: Option<u64>,
pub source: String,
}Expand description
A real HTTP request/response observed by CDP, proxy, or another source.
Fields§
§timestamp_ms: u64§method: String§url: String§status_code: Option<u16>§content_type: Option<String>§duration_ms: Option<f64>§size_bytes: Option<u64>§source: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for HttpEvent
impl<'de> Deserialize<'de> for HttpEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 Freeze for HttpEvent
impl RefUnwindSafe for HttpEvent
impl Send for HttpEvent
impl Sync for HttpEvent
impl Unpin for HttpEvent
impl UnsafeUnpin for HttpEvent
impl UnwindSafe for HttpEvent
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