Struct aws_sdk_appmesh::model::GatewayRouteSpec
source · #[non_exhaustive]pub struct GatewayRouteSpec { /* private fields */ }
Expand description
An object that represents a gateway route specification. Specify one gateway route type.
Implementations§
source§impl GatewayRouteSpec
impl GatewayRouteSpec
sourcepub fn http_route(&self) -> Option<&HttpGatewayRoute>
pub fn http_route(&self) -> Option<&HttpGatewayRoute>
An object that represents the specification of an HTTP gateway route.
sourcepub fn http2_route(&self) -> Option<&HttpGatewayRoute>
pub fn http2_route(&self) -> Option<&HttpGatewayRoute>
An object that represents the specification of an HTTP/2 gateway route.
sourcepub fn grpc_route(&self) -> Option<&GrpcGatewayRoute>
pub fn grpc_route(&self) -> Option<&GrpcGatewayRoute>
An object that represents the specification of a gRPC gateway route.
source§impl GatewayRouteSpec
impl GatewayRouteSpec
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GatewayRouteSpec
.
Trait Implementations§
source§impl Clone for GatewayRouteSpec
impl Clone for GatewayRouteSpec
source§fn clone(&self) -> GatewayRouteSpec
fn clone(&self) -> GatewayRouteSpec
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 GatewayRouteSpec
impl Debug for GatewayRouteSpec
source§impl PartialEq<GatewayRouteSpec> for GatewayRouteSpec
impl PartialEq<GatewayRouteSpec> for GatewayRouteSpec
source§fn eq(&self, other: &GatewayRouteSpec) -> bool
fn eq(&self, other: &GatewayRouteSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.