pub struct UpdateRequestSettingsParams {Show 15 fields
pub service_id: String,
pub version_id: i32,
pub request_settings_name: String,
pub action: Option<String>,
pub default_host: Option<String>,
pub hash_keys: Option<String>,
pub name: Option<String>,
pub request_condition: Option<String>,
pub xff: Option<String>,
pub bypass_busy_wait: Option<i32>,
pub force_miss: Option<i32>,
pub force_ssl: Option<i32>,
pub geo_headers: Option<i32>,
pub max_stale_age: Option<i32>,
pub timer_support: Option<i32>,
}Expand description
struct for passing parameters to the method update_request_settings
Fields§
§service_id: StringAlphanumeric string identifying the service.
version_id: i32Integer identifying a service version.
request_settings_name: StringName for the request settings.
action: Option<String>Allows you to terminate request handling and immediately perform an action.
default_host: Option<String>Sets the host header.
hash_keys: Option<String>Comma separated list of varnish request object fields that should be in the hash key.
name: Option<String>Name for the request settings.
request_condition: Option<String>Condition which, if met, will select this configuration during a request. Optional.
xff: Option<String>Short for X-Forwarded-For.
bypass_busy_wait: Option<i32>Disable collapsed forwarding, so you don’t wait for other objects to origin.
force_miss: Option<i32>Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
force_ssl: Option<i32>Forces the request use SSL (redirects a non-SSL to SSL).
geo_headers: Option<i32>Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
max_stale_age: Option<i32>How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
timer_support: Option<i32>Injects the X-Timer info into the request for viewing origin fetch durations.
Trait Implementations§
source§impl Clone for UpdateRequestSettingsParams
impl Clone for UpdateRequestSettingsParams
source§fn clone(&self) -> UpdateRequestSettingsParams
fn clone(&self) -> UpdateRequestSettingsParams
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateRequestSettingsParams
impl Debug for UpdateRequestSettingsParams
source§impl Default for UpdateRequestSettingsParams
impl Default for UpdateRequestSettingsParams
source§fn default() -> UpdateRequestSettingsParams
fn default() -> UpdateRequestSettingsParams
Auto Trait Implementations§
impl Freeze for UpdateRequestSettingsParams
impl RefUnwindSafe for UpdateRequestSettingsParams
impl Send for UpdateRequestSettingsParams
impl Sync for UpdateRequestSettingsParams
impl Unpin for UpdateRequestSettingsParams
impl UnwindSafe for UpdateRequestSettingsParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)