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§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more