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 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 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 Freeze for UpdateServiceSettingsParams
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