pub struct RequestServedFromCache {
pub method: RequestServedFromCacheMethod,
pub params: RequestServedFromCacheParams,
}Expand description
Fired if request ended up loading from cache. requestServedFromCache
Fields§
§method: RequestServedFromCacheMethod§params: RequestServedFromCacheParamsImplementations§
Source§impl RequestServedFromCache
impl RequestServedFromCache
pub const IDENTIFIER: &'static str = "Network.requestServedFromCache"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RequestServedFromCache
impl Clone for RequestServedFromCache
Source§fn clone(&self) -> RequestServedFromCache
fn clone(&self) -> RequestServedFromCache
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 RequestServedFromCache
impl Debug for RequestServedFromCache
Source§impl<'de> Deserialize<'de> for RequestServedFromCache
impl<'de> Deserialize<'de> for RequestServedFromCache
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
Source§impl From<RequestServedFromCache> for BrowserProtocolEvents
impl From<RequestServedFromCache> for BrowserProtocolEvents
Source§fn from(v: RequestServedFromCache) -> Self
fn from(v: RequestServedFromCache) -> Self
Converts to this type from the input type.
Source§impl From<RequestServedFromCache> for Event
impl From<RequestServedFromCache> for Event
Source§fn from(v: RequestServedFromCache) -> Self
fn from(v: RequestServedFromCache) -> Self
Converts to this type from the input type.
Source§impl From<RequestServedFromCache> for NetworkEvents
impl From<RequestServedFromCache> for NetworkEvents
Source§fn from(v: RequestServedFromCache) -> Self
fn from(v: RequestServedFromCache) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RequestServedFromCache
impl PartialEq for RequestServedFromCache
Source§impl Serialize for RequestServedFromCache
impl Serialize for RequestServedFromCache
Source§impl TryFrom<BrowserProtocolEvents> for RequestServedFromCache
impl TryFrom<BrowserProtocolEvents> for RequestServedFromCache
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <RequestServedFromCache as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <RequestServedFromCache as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for RequestServedFromCache
impl TryFrom<Event> for RequestServedFromCache
Source§impl TryFrom<NetworkEvents> for RequestServedFromCache
impl TryFrom<NetworkEvents> for RequestServedFromCache
Source§type Error = NetworkEvents
type Error = NetworkEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkEvents,
) -> Result<Self, <RequestServedFromCache as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <RequestServedFromCache as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for RequestServedFromCache
Auto Trait Implementations§
impl Freeze for RequestServedFromCache
impl RefUnwindSafe for RequestServedFromCache
impl Send for RequestServedFromCache
impl Sync for RequestServedFromCache
impl Unpin for RequestServedFromCache
impl UnsafeUnpin for RequestServedFromCache
impl UnwindSafe for RequestServedFromCache
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