Struct aws_sdk_appmesh::types::VirtualGatewayData
source · #[non_exhaustive]pub struct VirtualGatewayData {
pub mesh_name: String,
pub virtual_gateway_name: String,
pub spec: Option<VirtualGatewaySpec>,
pub metadata: Option<ResourceMetadata>,
pub status: Option<VirtualGatewayStatus>,
}
Expand description
An object that represents a virtual gateway 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 virtual gateway resides in.
virtual_gateway_name: String
The name of the virtual gateway.
spec: Option<VirtualGatewaySpec>
The specifications of the virtual gateway.
metadata: Option<ResourceMetadata>
An object that represents metadata for a resource.
status: Option<VirtualGatewayStatus>
The current status of the virtual gateway.
Implementations§
source§impl VirtualGatewayData
impl VirtualGatewayData
sourcepub fn mesh_name(&self) -> &str
pub fn mesh_name(&self) -> &str
The name of the service mesh that the virtual gateway resides in.
sourcepub fn virtual_gateway_name(&self) -> &str
pub fn virtual_gateway_name(&self) -> &str
The name of the virtual gateway.
sourcepub fn spec(&self) -> Option<&VirtualGatewaySpec>
pub fn spec(&self) -> Option<&VirtualGatewaySpec>
The specifications of the virtual gateway.
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<&VirtualGatewayStatus>
pub fn status(&self) -> Option<&VirtualGatewayStatus>
The current status of the virtual gateway.
source§impl VirtualGatewayData
impl VirtualGatewayData
sourcepub fn builder() -> VirtualGatewayDataBuilder
pub fn builder() -> VirtualGatewayDataBuilder
Creates a new builder-style object to manufacture VirtualGatewayData
.
Trait Implementations§
source§impl Clone for VirtualGatewayData
impl Clone for VirtualGatewayData
source§fn clone(&self) -> VirtualGatewayData
fn clone(&self) -> VirtualGatewayData
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 VirtualGatewayData
impl Debug for VirtualGatewayData
source§impl PartialEq for VirtualGatewayData
impl PartialEq for VirtualGatewayData
source§fn eq(&self, other: &VirtualGatewayData) -> bool
fn eq(&self, other: &VirtualGatewayData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VirtualGatewayData
Auto Trait Implementations§
impl RefUnwindSafe for VirtualGatewayData
impl Send for VirtualGatewayData
impl Sync for VirtualGatewayData
impl Unpin for VirtualGatewayData
impl UnwindSafe for VirtualGatewayData
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>
Creates a shared type from an unshared type.