pub struct RequestCachedResponseParams {
pub cacheId: CacheId,
pub requestURL: String,
pub requestHeaders: Vec<Header>,
}Expand description
Fetches cache entry.
Fields§
§cacheId: CacheIdId of cache that contains the entry.
requestURL: StringURL spec of the request.
requestHeaders: Vec<Header>headers of the request.
Implementations§
Trait Implementations§
Source§impl Clone for RequestCachedResponseParams
impl Clone for RequestCachedResponseParams
Source§fn clone(&self) -> RequestCachedResponseParams
fn clone(&self) -> RequestCachedResponseParams
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 RequestCachedResponseParams
impl Debug for RequestCachedResponseParams
Source§impl Default for RequestCachedResponseParams
impl Default for RequestCachedResponseParams
Source§fn default() -> RequestCachedResponseParams
fn default() -> RequestCachedResponseParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RequestCachedResponseParams
impl<'de> Deserialize<'de> for RequestCachedResponseParams
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 RequestCachedResponseParams
impl RefUnwindSafe for RequestCachedResponseParams
impl Send for RequestCachedResponseParams
impl Sync for RequestCachedResponseParams
impl Unpin for RequestCachedResponseParams
impl UnsafeUnpin for RequestCachedResponseParams
impl UnwindSafe for RequestCachedResponseParams
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