pub struct GatewayRouteSpec {
pub grpc_route: Option<GrpcGatewayRoute>,
pub http_2_route: Option<HttpGatewayRoute>,
pub http_route: Option<HttpGatewayRoute>,
}
Expand description
An object that represents a gateway route specification. Specify one gateway route type.
Fields§
§grpc_route: Option<GrpcGatewayRoute>
An object that represents the specification of a gRPC gateway route.
http_2_route: Option<HttpGatewayRoute>
An object that represents the specification of an HTTP/2 gateway route.
http_route: Option<HttpGatewayRoute>
An object that represents the specification of an HTTP gateway route.
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 Default for GatewayRouteSpec
impl Default for GatewayRouteSpec
Source§fn default() -> GatewayRouteSpec
fn default() -> GatewayRouteSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayRouteSpec
impl<'de> Deserialize<'de> for GatewayRouteSpec
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 GatewayRouteSpec
impl PartialEq for GatewayRouteSpec
Source§impl Serialize for GatewayRouteSpec
impl Serialize for GatewayRouteSpec
impl StructuralPartialEq for GatewayRouteSpec
Auto Trait Implementations§
impl Freeze for GatewayRouteSpec
impl RefUnwindSafe for GatewayRouteSpec
impl Send for GatewayRouteSpec
impl Sync for GatewayRouteSpec
impl Unpin for GatewayRouteSpec
impl UnwindSafe for GatewayRouteSpec
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