Struct google_appengine1::UrlDispatchRule
source · pub struct UrlDispatchRule {
pub path: Option<String>,
pub domain: 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§
§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.
domain: Option<String>
Domain name to match against. The wildcard “” is supported if specified before a period: “.”.Defaults to matching all domains: “*”.
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§
source§impl Clone for UrlDispatchRule
impl Clone for UrlDispatchRule
source§fn clone(&self) -> UrlDispatchRule
fn clone(&self) -> UrlDispatchRule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UrlDispatchRule
impl Debug for UrlDispatchRule
source§impl Default for UrlDispatchRule
impl Default for UrlDispatchRule
source§fn default() -> UrlDispatchRule
fn default() -> UrlDispatchRule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UrlDispatchRule
impl<'de> Deserialize<'de> for UrlDispatchRule
source§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
source§impl Serialize for UrlDispatchRule
impl Serialize for UrlDispatchRule
impl Part for UrlDispatchRule
Auto Trait Implementations§
impl Freeze for UrlDispatchRule
impl RefUnwindSafe for UrlDispatchRule
impl Send for UrlDispatchRule
impl Sync for UrlDispatchRule
impl Unpin for UrlDispatchRule
impl UnwindSafe for UrlDispatchRule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more