pub struct CacheSettingResponse {
pub action: Option<Action>,
pub cache_condition: Option<String>,
pub name: Option<String>,
pub stale_ttl: Option<String>,
pub ttl: Option<String>,
pub service_id: Option<Box<String>>,
pub version: Option<Box<String>>,
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<String>
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<String>
Maximum time to consider the object fresh in the cache (the cache ‘time to live’).
service_id: Option<Box<String>>
§version: Option<Box<String>>
§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 duplicate 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
Source§impl PartialEq for CacheSettingResponse
impl PartialEq for CacheSettingResponse
Source§impl Serialize for CacheSettingResponse
impl Serialize for CacheSettingResponse
impl StructuralPartialEq for CacheSettingResponse
Auto Trait Implementations§
impl Freeze for CacheSettingResponse
impl RefUnwindSafe for CacheSettingResponse
impl Send for CacheSettingResponse
impl Sync for CacheSettingResponse
impl Unpin for CacheSettingResponse
impl UnwindSafe for CacheSettingResponse
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