Struct aws_sdk_batch::types::NodePropertiesSummary
source · #[non_exhaustive]pub struct NodePropertiesSummary {
pub is_main_node: Option<bool>,
pub num_nodes: Option<i32>,
pub node_index: Option<i32>,
}Expand description
An object that represents the properties of a node that's associated with a multi-node parallel job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.is_main_node: Option<bool>Specifies whether the current node is the main node for a multi-node parallel job.
num_nodes: Option<i32>The number of nodes that are associated with a multi-node parallel job.
node_index: Option<i32>The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.
Implementations§
source§impl NodePropertiesSummary
impl NodePropertiesSummary
sourcepub fn is_main_node(&self) -> Option<bool>
pub fn is_main_node(&self) -> Option<bool>
Specifies whether the current node is the main node for a multi-node parallel job.
sourcepub fn num_nodes(&self) -> Option<i32>
pub fn num_nodes(&self) -> Option<i32>
The number of nodes that are associated with a multi-node parallel job.
sourcepub fn node_index(&self) -> Option<i32>
pub fn node_index(&self) -> Option<i32>
The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.
source§impl NodePropertiesSummary
impl NodePropertiesSummary
sourcepub fn builder() -> NodePropertiesSummaryBuilder
pub fn builder() -> NodePropertiesSummaryBuilder
Creates a new builder-style object to manufacture NodePropertiesSummary.
Trait Implementations§
source§impl Clone for NodePropertiesSummary
impl Clone for NodePropertiesSummary
source§fn clone(&self) -> NodePropertiesSummary
fn clone(&self) -> NodePropertiesSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for NodePropertiesSummary
impl Debug for NodePropertiesSummary
source§impl PartialEq for NodePropertiesSummary
impl PartialEq for NodePropertiesSummary
source§fn eq(&self, other: &NodePropertiesSummary) -> bool
fn eq(&self, other: &NodePropertiesSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NodePropertiesSummary
Auto Trait Implementations§
impl Freeze for NodePropertiesSummary
impl RefUnwindSafe for NodePropertiesSummary
impl Send for NodePropertiesSummary
impl Sync for NodePropertiesSummary
impl Unpin for NodePropertiesSummary
impl UnwindSafe for NodePropertiesSummary
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more