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§impl Debug for UpdateServiceSettingsParams
impl Debug for UpdateServiceSettingsParams
Auto Trait Implementations§
impl Freeze for UpdateServiceSettingsParams
impl RefUnwindSafe for UpdateServiceSettingsParams
impl Send for UpdateServiceSettingsParams
impl Sync for UpdateServiceSettingsParams
impl Unpin for UpdateServiceSettingsParams
impl UnsafeUnpin 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