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