pub struct RequestSettingsResponse {Show 17 fields
pub action: Option<Action>,
pub bypass_busy_wait: Option<i32>,
pub default_host: Option<String>,
pub force_miss: Option<i32>,
pub force_ssl: Option<i32>,
pub geo_headers: Option<i32>,
pub hash_keys: Option<String>,
pub max_stale_age: Option<i32>,
pub name: Option<String>,
pub request_condition: Option<String>,
pub timer_support: Option<i32>,
pub xff: Option<Xff>,
pub service_id: Option<Box<String>>,
pub version: Option<Box<i32>>,
pub created_at: Option<String>,
pub deleted_at: Option<String>,
pub updated_at: Option<String>,
}Fields
action: Option<Action>Allows you to terminate request handling and immediately perform an action.
bypass_busy_wait: Option<i32>Disable collapsed forwarding, so you don’t wait for other objects to origin.
default_host: Option<String>Sets the host header.
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.
hash_keys: Option<String>Comma separated list of varnish request object fields that should be in the hash key.
max_stale_age: Option<i32>How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
name: Option<String>Name for the request settings.
request_condition: Option<String>Condition which, if met, will select this configuration during a request. Optional.
timer_support: Option<i32>Injects the X-Timer info into the request for viewing origin fetch durations.
xff: Option<Xff>Short for X-Forwarded-For.
service_id: Option<Box<String>>version: Option<Box<i32>>created_at: Option<String>Date and time in ISO 8601 format.
deleted_at: Option<String>Date and time in ISO 8601 format.
updated_at: Option<String>Date and time in ISO 8601 format.
Implementations
sourceimpl RequestSettingsResponse
impl RequestSettingsResponse
pub fn new() -> RequestSettingsResponse
Trait Implementations
sourceimpl Clone for RequestSettingsResponse
impl Clone for RequestSettingsResponse
sourcefn clone(&self) -> RequestSettingsResponse
fn clone(&self) -> RequestSettingsResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RequestSettingsResponse
impl Debug for RequestSettingsResponse
sourceimpl Default for RequestSettingsResponse
impl Default for RequestSettingsResponse
sourcefn default() -> RequestSettingsResponse
fn default() -> RequestSettingsResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RequestSettingsResponse
impl<'de> Deserialize<'de> for RequestSettingsResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<RequestSettingsResponse> for RequestSettingsResponse
impl PartialEq<RequestSettingsResponse> for RequestSettingsResponse
sourcefn eq(&self, other: &RequestSettingsResponse) -> bool
fn eq(&self, other: &RequestSettingsResponse) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for RequestSettingsResponse
impl Serialize for RequestSettingsResponse
impl StructuralPartialEq for RequestSettingsResponse
Auto Trait Implementations
impl RefUnwindSafe for RequestSettingsResponse
impl Send for RequestSettingsResponse
impl Sync for RequestSettingsResponse
impl Unpin for RequestSettingsResponse
impl UnwindSafe for RequestSettingsResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more