Struct deno_cache::CachePutRequest
source · pub struct CachePutRequest {
pub cache_id: i64,
pub request_url: String,
pub request_headers: Vec<(ByteString, ByteString)>,
pub response_headers: Vec<(ByteString, ByteString)>,
pub response_has_body: bool,
pub response_status: u16,
pub response_status_text: String,
}
Fields§
§cache_id: i64
§request_url: String
§request_headers: Vec<(ByteString, ByteString)>
§response_headers: Vec<(ByteString, ByteString)>
§response_has_body: bool
§response_status: u16
§response_status_text: String
Trait Implementations§
source§impl Clone for CachePutRequest
impl Clone for CachePutRequest
source§fn clone(&self) -> CachePutRequest
fn clone(&self) -> CachePutRequest
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 CachePutRequest
impl Debug for CachePutRequest
source§impl<'de> Deserialize<'de> for CachePutRequest
impl<'de> Deserialize<'de> for CachePutRequest
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 RefUnwindSafe for CachePutRequest
impl Send for CachePutRequest
impl Sync for CachePutRequest
impl Unpin for CachePutRequest
impl UnwindSafe for CachePutRequest
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