pub struct HttpCacheControlResponseHeader {
pub age: Option<i64>,
pub directive: Option<String>,
pub expires: Option<String>,
}
Expand description
RFC-2616: cache control support
This type is not used in any activity, and only used as part of another schema.
Fields§
§age: Option<i64>
14.6 response cache age, in seconds since the response is generated
directive: Option<String>
14.9 request and response directives
expires: Option<String>
14.21 response cache expires, in RFC 1123 date format
Trait Implementations§
source§impl Clone for HttpCacheControlResponseHeader
impl Clone for HttpCacheControlResponseHeader
source§fn clone(&self) -> HttpCacheControlResponseHeader
fn clone(&self) -> HttpCacheControlResponseHeader
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 Default for HttpCacheControlResponseHeader
impl Default for HttpCacheControlResponseHeader
source§fn default() -> HttpCacheControlResponseHeader
fn default() -> HttpCacheControlResponseHeader
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HttpCacheControlResponseHeader
impl<'de> Deserialize<'de> for HttpCacheControlResponseHeader
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