pub struct CacheSettingResponse {
pub action: Option<Action>,
pub cache_condition: Option<String>,
pub name: Option<String>,
pub stale_ttl: Option<i32>,
pub ttl: Option<i32>,
pub service_id: Option<Box<String>>,
pub version: Option<Box<i32>>,
pub created_at: Option<String>,
pub deleted_at: Option<String>,
pub updated_at: Option<String>,
}
Fields§
§action: Option<Action>
If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule.
cache_condition: Option<String>
Name of the cache condition controlling when this configuration applies.
name: Option<String>
Name for the cache settings object.
stale_ttl: Option<i32>
Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as ‘stale if error’).
ttl: Option<i32>
Maximum time to consider the object fresh in the cache (the cache ‘time to live’).
service_id: Option<Box<String>>
§version: Option<Box<i32>>
§created_at: Option<String>
Date and time in ISO 8601 format.
deleted_at: Option<String>
Date and time in ISO 8601 format.
updated_at: Option<String>
Date and time in ISO 8601 format.
Implementations§
source§impl CacheSettingResponse
impl CacheSettingResponse
pub fn new() -> CacheSettingResponse
Trait Implementations§
source§impl Clone for CacheSettingResponse
impl Clone for CacheSettingResponse
source§fn clone(&self) -> CacheSettingResponse
fn clone(&self) -> CacheSettingResponse
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 CacheSettingResponse
impl Debug for CacheSettingResponse
source§impl Default for CacheSettingResponse
impl Default for CacheSettingResponse
source§fn default() -> CacheSettingResponse
fn default() -> CacheSettingResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CacheSettingResponse
impl<'de> Deserialize<'de> for CacheSettingResponse
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