Struct chromiumoxide::cdp::browser_protocol::cache_storage::CachedResponse
source · pub struct CachedResponse {
pub body: Binary,
}
Expand description
Cached response CachedResponse
Fields§
§body: Binary
Entry content, base64-encoded.
Implementations§
source§impl CachedResponse
impl CachedResponse
pub fn new(body: impl Into<Binary>) -> CachedResponse
source§impl CachedResponse
impl CachedResponse
pub fn builder() -> CachedResponseBuilder
source§impl CachedResponse
impl CachedResponse
pub const IDENTIFIER: &'static str = "CacheStorage.CachedResponse"
Trait Implementations§
source§impl Clone for CachedResponse
impl Clone for CachedResponse
source§fn clone(&self) -> CachedResponse
fn clone(&self) -> CachedResponse
Returns a copy 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 CachedResponse
impl Debug for CachedResponse
source§impl<'de> Deserialize<'de> for CachedResponse
impl<'de> Deserialize<'de> for CachedResponse
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CachedResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CachedResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CachedResponse
impl PartialEq for CachedResponse
source§fn eq(&self, other: &CachedResponse) -> bool
fn eq(&self, other: &CachedResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CachedResponse
impl Serialize for CachedResponse
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CachedResponse
Auto Trait Implementations§
impl Freeze for CachedResponse
impl RefUnwindSafe for CachedResponse
impl Send for CachedResponse
impl Sync for CachedResponse
impl Unpin for CachedResponse
impl UnwindSafe for CachedResponse
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