pub struct OnPageDataApiInstantPagesCacheControl {
pub cachable: Option<bool>,
pub ttl: Option<i64>,
}Expand description
Cache-control directives for an analyzed page. See https://docs.dataforseo.com/v3/on_page/instant_pages/.
Fields§
§cachable: Option<bool>Whether the page or resource is cacheable.
ttl: Option<i64>Browser cache lifetime (time to live), in milliseconds.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OnPageDataApiInstantPagesCacheControl
impl<'de> Deserialize<'de> for OnPageDataApiInstantPagesCacheControl
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 OnPageDataApiInstantPagesCacheControl
impl RefUnwindSafe for OnPageDataApiInstantPagesCacheControl
impl Send for OnPageDataApiInstantPagesCacheControl
impl Sync for OnPageDataApiInstantPagesCacheControl
impl Unpin for OnPageDataApiInstantPagesCacheControl
impl UnsafeUnpin for OnPageDataApiInstantPagesCacheControl
impl UnwindSafe for OnPageDataApiInstantPagesCacheControl
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