Struct google_firebasehosting1_beta1::ServingConfig[][src]

pub struct ServingConfig {
    pub clean_urls: Option<bool>,
    pub headers: Option<Vec<Header>>,
    pub redirects: Option<Vec<Redirect>>,
    pub app_association: Option<String>,
    pub trailing_slash_behavior: Option<String>,
    pub rewrites: Option<Vec<Rewrite>>,
}

The configuration for how incoming requests to a site should be routed and processed before serving content. The patterns are matched and applied according to a specific priority order.

This type is not used in any activity, and only used as part of another schema.

Fields

Defines whether to drop the file extension from uploaded files.

A list of custom response headers that are added to the content if the request URL path matches the glob.

A list of globs that will cause the response to redirect to another location.

How to handle well known App Association files.

Defines how to handle a trailing slash in the URL path.

A list of rewrites that will act as if the service were given the destination URL.

Trait Implementations

impl Default for ServingConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for ServingConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ServingConfig
[src]

Formats the value using the given formatter. Read more

impl Part for ServingConfig
[src]

Auto Trait Implementations