Struct fastly_api::apis::settings_api::UpdateServiceSettingsParams
source · pub struct UpdateServiceSettingsParams {
pub service_id: String,
pub version_id: i32,
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>,
}Expand description
struct for passing parameters to the method update_service_settings
Fields§
§service_id: StringAlphanumeric string identifying the service.
version_id: i32Integer identifying a service version.
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.
Trait Implementations§
source§impl Clone for UpdateServiceSettingsParams
impl Clone for UpdateServiceSettingsParams
source§fn clone(&self) -> UpdateServiceSettingsParams
fn clone(&self) -> UpdateServiceSettingsParams
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 UpdateServiceSettingsParams
impl Debug for UpdateServiceSettingsParams
source§impl Default for UpdateServiceSettingsParams
impl Default for UpdateServiceSettingsParams
source§fn default() -> UpdateServiceSettingsParams
fn default() -> UpdateServiceSettingsParams
Returns the “default value” for a type. Read more