pub struct DataEntry {
pub request_url: String,
pub request_method: String,
pub request_headers: Vec<Header>,
pub response_time: f64,
pub response_status: i64,
pub response_status_text: String,
pub response_type: CachedResponseType,
pub response_headers: Vec<Header>,
}Expand description
Data entry. DataEntry
Fields§
§request_url: StringRequest URL.
request_method: StringRequest method.
request_headers: Vec<Header>Request headers
response_time: f64Number of seconds since epoch.
response_status: i64HTTP response status code.
response_status_text: StringHTTP response status text.
response_type: CachedResponseTypeHTTP response type
response_headers: Vec<Header>Response headers
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataEntry
impl<'de> Deserialize<'de> for DataEntry
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
impl StructuralPartialEq for DataEntry
Auto Trait Implementations§
impl Freeze for DataEntry
impl RefUnwindSafe for DataEntry
impl Send for DataEntry
impl Sync for DataEntry
impl Unpin for DataEntry
impl UnwindSafe for DataEntry
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