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: String
Alphanumeric string identifying the service.
version_id: i32
Integer 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
Auto Trait Implementations§
impl RefUnwindSafe for UpdateServiceSettingsParams
impl Send for UpdateServiceSettingsParams
impl Sync for UpdateServiceSettingsParams
impl Unpin for UpdateServiceSettingsParams
impl UnwindSafe for UpdateServiceSettingsParams
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