pub struct GrpcGatewayRouteAction {
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 GrpcGatewayRouteAction
impl Clone for GrpcGatewayRouteAction
Source§fn clone(&self) -> GrpcGatewayRouteAction
fn clone(&self) -> GrpcGatewayRouteAction
Returns a duplicate 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 GrpcGatewayRouteAction
impl Debug for GrpcGatewayRouteAction
Source§impl Default for GrpcGatewayRouteAction
impl Default for GrpcGatewayRouteAction
Source§fn default() -> GrpcGatewayRouteAction
fn default() -> GrpcGatewayRouteAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrpcGatewayRouteAction
impl<'de> Deserialize<'de> for GrpcGatewayRouteAction
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 GrpcGatewayRouteAction
impl PartialEq for GrpcGatewayRouteAction
Source§impl Serialize for GrpcGatewayRouteAction
impl Serialize for GrpcGatewayRouteAction
impl StructuralPartialEq for GrpcGatewayRouteAction
Auto Trait Implementations§
impl Freeze for GrpcGatewayRouteAction
impl RefUnwindSafe for GrpcGatewayRouteAction
impl Send for GrpcGatewayRouteAction
impl Sync for GrpcGatewayRouteAction
impl Unpin for GrpcGatewayRouteAction
impl UnwindSafe for GrpcGatewayRouteAction
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