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
function: Option<String>
The function to proxy requests to. Must match the exported function name exactly.
path: Option<String>
The URL path to rewrite the request to.
dynamic_links: Option<bool>
The request will be forwarded to Firebase Dynamic Links.
glob: Option<String>
Required. The user-supplied glob pattern to match against the request URL path.
Trait Implementations
impl Default for Rewrite
[src]
impl Default for Rewrite
impl Clone for Rewrite
[src]
impl Clone for Rewrite
fn clone(&self) -> Rewrite
[src]
fn clone(&self) -> Rewrite
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Rewrite
[src]
impl Debug for Rewrite
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Rewrite
[src]
impl Part for Rewrite