Struct aws_sdk_appmesh::types::GatewayRouteData
source · #[non_exhaustive]pub struct GatewayRouteData {
pub mesh_name: String,
pub gateway_route_name: String,
pub virtual_gateway_name: String,
pub spec: Option<GatewayRouteSpec>,
pub metadata: Option<ResourceMetadata>,
pub status: Option<GatewayRouteStatus>,
}
Expand description
An object that represents a gateway route returned by a describe operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mesh_name: String
The name of the service mesh that the resource resides in.
gateway_route_name: String
The name of the gateway route.
virtual_gateway_name: String
The virtual gateway that the gateway route is associated with.
spec: Option<GatewayRouteSpec>
The specifications of the gateway route.
metadata: Option<ResourceMetadata>
An object that represents metadata for a resource.
status: Option<GatewayRouteStatus>
The status of the gateway route.
Implementations§
source§impl GatewayRouteData
impl GatewayRouteData
sourcepub fn gateway_route_name(&self) -> &str
pub fn gateway_route_name(&self) -> &str
The name of the gateway route.
sourcepub fn virtual_gateway_name(&self) -> &str
pub fn virtual_gateway_name(&self) -> &str
The virtual gateway that the gateway route is associated with.
sourcepub fn spec(&self) -> Option<&GatewayRouteSpec>
pub fn spec(&self) -> Option<&GatewayRouteSpec>
The specifications of the gateway route.
sourcepub fn metadata(&self) -> Option<&ResourceMetadata>
pub fn metadata(&self) -> Option<&ResourceMetadata>
An object that represents metadata for a resource.
sourcepub fn status(&self) -> Option<&GatewayRouteStatus>
pub fn status(&self) -> Option<&GatewayRouteStatus>
The status of the gateway route.
source§impl GatewayRouteData
impl GatewayRouteData
sourcepub fn builder() -> GatewayRouteDataBuilder
pub fn builder() -> GatewayRouteDataBuilder
Creates a new builder-style object to manufacture GatewayRouteData
.
Trait Implementations§
source§impl Clone for GatewayRouteData
impl Clone for GatewayRouteData
source§fn clone(&self) -> GatewayRouteData
fn clone(&self) -> GatewayRouteData
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 GatewayRouteData
impl Debug for GatewayRouteData
source§impl PartialEq for GatewayRouteData
impl PartialEq for GatewayRouteData
source§fn eq(&self, other: &GatewayRouteData) -> bool
fn eq(&self, other: &GatewayRouteData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GatewayRouteData
Auto Trait Implementations§
impl Freeze for GatewayRouteData
impl RefUnwindSafe for GatewayRouteData
impl Send for GatewayRouteData
impl Sync for GatewayRouteData
impl Unpin for GatewayRouteData
impl UnwindSafe for GatewayRouteData
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.