[][src]Struct rusoto_appmesh::HttpRouteMatch

pub struct HttpRouteMatch {
    pub headers: Option<Vec<HttpRouteHeader>>,
    pub method: Option<String>,
    pub prefix: String,
    pub scheme: Option<String>,
}

An object that represents the requirements for a route to match HTTP requests for a virtual router.

Fields

headers: Option<Vec<HttpRouteHeader>>

An object that represents the client request headers to match on.

method: Option<String>

The client request method to match on. Specify only one.

prefix: String

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

scheme: Option<String>

The client request scheme to match on. Specify only one.

Trait Implementations

impl Clone for HttpRouteMatch[src]

impl Debug for HttpRouteMatch[src]

impl Default for HttpRouteMatch[src]

impl<'de> Deserialize<'de> for HttpRouteMatch[src]

impl PartialEq<HttpRouteMatch> for HttpRouteMatch[src]

impl Serialize for HttpRouteMatch[src]

impl StructuralPartialEq for HttpRouteMatch[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.