pub struct StepConfig {
pub action_on_failure: Option<String>,
pub hadoop_jar_step: HadoopJarStepConfig,
pub name: String,
}
Expand description
Specification of a cluster (job flow) step.
Fields§
§action_on_failure: Option<String>
The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is provided for backward compatibility. We recommend using TERMINATE_CLUSTER instead.
hadoop_jar_step: HadoopJarStepConfig
The JAR file used for the step.
name: String
The name of the step.
Trait Implementations§
Source§impl Clone for StepConfig
impl Clone for StepConfig
Source§fn clone(&self) -> StepConfig
fn clone(&self) -> StepConfig
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 StepConfig
impl Debug for StepConfig
Source§impl Default for StepConfig
impl Default for StepConfig
Source§fn default() -> StepConfig
fn default() -> StepConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StepConfig
impl<'de> Deserialize<'de> for StepConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StepConfig
impl PartialEq for StepConfig
Source§impl Serialize for StepConfig
impl Serialize for StepConfig
impl StructuralPartialEq for StepConfig
Auto Trait Implementations§
impl Freeze for StepConfig
impl RefUnwindSafe for StepConfig
impl Send for StepConfig
impl Sync for StepConfig
impl Unpin for StepConfig
impl UnwindSafe for StepConfig
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