pub struct NetworkEntry {Show 16 fields
pub seq: u64,
pub request_id: String,
pub ts_ms: f64,
pub method: String,
pub url: String,
pub resource_type: Option<String>,
pub status: Option<u16>,
pub status_text: Option<String>,
pub mime_type: Option<String>,
pub from_cache: bool,
pub encoded_bytes: Option<u64>,
pub duration_ms: Option<f64>,
pub failed: Option<String>,
pub state: NetState,
pub page_url: String,
pub has_post_data: bool,
/* private fields */
}Expand description
One captured network request.
Fields§
§seq: u64§request_id: StringCDP Network.RequestId, verbatim — pass to browser_network_body.
ts_ms: f64Epoch milliseconds.
method: String§url: String§resource_type: Option<String>§status: Option<u16>§status_text: Option<String>§mime_type: Option<String>§from_cache: bool§encoded_bytes: Option<u64>§duration_ms: Option<f64>§failed: Option<String>§state: NetState§page_url: String§has_post_data: boolTrait Implementations§
Source§impl Clone for NetworkEntry
impl Clone for NetworkEntry
Source§fn clone(&self) -> NetworkEntry
fn clone(&self) -> NetworkEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetworkEntry
impl Debug for NetworkEntry
Auto Trait Implementations§
impl Freeze for NetworkEntry
impl RefUnwindSafe for NetworkEntry
impl Send for NetworkEntry
impl Sync for NetworkEntry
impl Unpin for NetworkEntry
impl UnsafeUnpin for NetworkEntry
impl UnwindSafe for NetworkEntry
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