Struct fastly_api::models::settings::Settings
source · pub struct Settings {
pub general_default_host: Option<String>,
pub general_default_ttl: Option<i32>,
pub general_stale_if_error: Option<bool>,
pub general_stale_if_error_ttl: Option<i32>,
}
Fields§
§general_default_host: Option<String>
The default host name for the version.
general_default_ttl: Option<i32>
The default time-to-live (TTL) for the version.
general_stale_if_error: Option<bool>
Enables serving a stale object if there is an error.
general_stale_if_error_ttl: Option<i32>
The default time-to-live (TTL) for serving the stale object for the version.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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<Settings> for Settings
impl PartialEq<Settings> for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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