pub struct NodeOverrides {
pub node_property_overrides: Option<Vec<NodePropertyOverride>>,
pub num_nodes: Option<i64>,
}Expand description
Object representing any node overrides to a job definition that is used in a SubmitJob API operation.
Fields§
§node_property_overrides: Option<Vec<NodePropertyOverride>>The node property overrides for the job.
num_nodes: Option<i64>The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:
-
There must be at least one node range in your job definition that has an open upper boundary (such as
:orn:). -
The lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.
-
The main node index specified in the job definition must be fewer than the number of nodes specified in the override.
Trait Implementations§
Source§impl Clone for NodeOverrides
impl Clone for NodeOverrides
Source§fn clone(&self) -> NodeOverrides
fn clone(&self) -> NodeOverrides
Returns a duplicate 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 NodeOverrides
impl Debug for NodeOverrides
Source§impl Default for NodeOverrides
impl Default for NodeOverrides
Source§fn default() -> NodeOverrides
fn default() -> NodeOverrides
Returns the “default value” for a type. Read more
Source§impl PartialEq for NodeOverrides
impl PartialEq for NodeOverrides
Source§impl Serialize for NodeOverrides
impl Serialize for NodeOverrides
impl StructuralPartialEq for NodeOverrides
Auto Trait Implementations§
impl Freeze for NodeOverrides
impl RefUnwindSafe for NodeOverrides
impl Send for NodeOverrides
impl Sync for NodeOverrides
impl Unpin for NodeOverrides
impl UnwindSafe for NodeOverrides
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