Struct google_firebasehosting1_beta1::Rewrite[][src]

pub struct Rewrite {
    pub function: Option<String>,
    pub path: Option<String>,
    pub dynamic_links: Option<bool>,
    pub glob: Option<String>,
}

A Rewrite represents an internal content rewrite on the version. If the pattern matches, the request will be handled as if it were to the destination path specified in the configuration.

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

Fields

The function to proxy requests to. Must match the exported function name exactly.

The URL path to rewrite the request to.

The request will be forwarded to Firebase Dynamic Links.

Required. The user-supplied glob pattern to match against the request URL path.

Trait Implementations

impl Default for Rewrite
[src]

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

impl Clone for Rewrite
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Rewrite
[src]

Formats the value using the given formatter. Read more

impl Part for Rewrite
[src]

Auto Trait Implementations

impl Send for Rewrite

impl Sync for Rewrite