Struct aws_sdk_appmesh::types::VirtualNodeData
source · #[non_exhaustive]pub struct VirtualNodeData {
pub mesh_name: String,
pub virtual_node_name: 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: StringThe name of the service mesh that the virtual node resides in.
virtual_node_name: StringThe 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 virtual_node_name(&self) -> &str
pub fn virtual_node_name(&self) -> &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 for VirtualNodeData
impl PartialEq for VirtualNodeData
impl StructuralPartialEq for VirtualNodeData
Auto Trait Implementations§
impl Freeze for VirtualNodeData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.