pub struct CachedResponse {
pub body: Binary,
}Expand description
Cached response CachedResponse
Fields§
§body: BinaryEntry content, base64-encoded.
Implementations§
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 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 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<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 PartialEq for CachedResponse
impl PartialEq for CachedResponse
Source§impl Serialize for CachedResponse
impl Serialize for CachedResponse
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