pub struct HttpGatewayRoute {
pub action: HttpGatewayRouteAction,
pub route_match: Option<HttpGatewayRouteMatch>,
}
Expand description
An object that represents an HTTP gateway route.
Fields§
§action: HttpGatewayRouteAction
An object that represents the action to take if a match is determined.
route_match: Option<HttpGatewayRouteMatch>
An object that represents the criteria for determining a request match.
Trait Implementations§
Source§impl Clone for HttpGatewayRoute
impl Clone for HttpGatewayRoute
Source§fn clone(&self) -> HttpGatewayRoute
fn clone(&self) -> HttpGatewayRoute
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 HttpGatewayRoute
impl Debug for HttpGatewayRoute
Source§impl Default for HttpGatewayRoute
impl Default for HttpGatewayRoute
Source§fn default() -> HttpGatewayRoute
fn default() -> HttpGatewayRoute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpGatewayRoute
impl<'de> Deserialize<'de> for HttpGatewayRoute
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 PartialEq for HttpGatewayRoute
impl PartialEq for HttpGatewayRoute
Source§impl Serialize for HttpGatewayRoute
impl Serialize for HttpGatewayRoute
impl StructuralPartialEq for HttpGatewayRoute
Auto Trait Implementations§
impl Freeze for HttpGatewayRoute
impl RefUnwindSafe for HttpGatewayRoute
impl Send for HttpGatewayRoute
impl Sync for HttpGatewayRoute
impl Unpin for HttpGatewayRoute
impl UnwindSafe for HttpGatewayRoute
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