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