Struct google_appengine1::api::UrlDispatchRule [−][src]
pub struct UrlDispatchRule {
pub domain: Option<String>,
pub path: Option<String>,
pub service: Option<String>,
}Expand description
Rules to match an HTTP request and dispatch that request to a service.
This type is not used in any activity, and only used as part of another schema.
Fields
domain: Option<String>Domain name to match against. The wildcard “” is supported if specified before a period: “.”.Defaults to matching all domains: “*”.
path: Option<String>Pathname within the host. Must start with a “/”. A single “*” can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
service: Option<String>Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
Trait Implementations
Returns the “default value” for a type. Read more
fn 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
Auto Trait Implementations
impl RefUnwindSafe for UrlDispatchRule
impl Send for UrlDispatchRule
impl Sync for UrlDispatchRule
impl Unpin for UrlDispatchRule
impl UnwindSafe for UrlDispatchRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more