pub struct OnPageResourceItemCacheControl {
pub cachable: Option<bool>,
pub ttl: Option<i64>,
}Expand description
Cache-control settings reported for a resource.
Fields§
§cachable: Option<bool>Whether the resource can be cached.
ttl: Option<i64>Time the resource stays valid in cache, in seconds.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OnPageResourceItemCacheControl
impl<'de> Deserialize<'de> for OnPageResourceItemCacheControl
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 OnPageResourceItemCacheControl
impl RefUnwindSafe for OnPageResourceItemCacheControl
impl Send for OnPageResourceItemCacheControl
impl Sync for OnPageResourceItemCacheControl
impl Unpin for OnPageResourceItemCacheControl
impl UnsafeUnpin for OnPageResourceItemCacheControl
impl UnwindSafe for OnPageResourceItemCacheControl
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