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