Struct aws_sdk_batch::operation::terminate_job::TerminateJobInput   
source · #[non_exhaustive]pub struct TerminateJobInput {
    pub job_id: Option<String>,
    pub reason: Option<String>,
}Expand description
Contains the parameters for TerminateJob.
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.job_id: Option<String>The Batch job ID of the job to terminate.
reason: Option<String>A message to attach to the job that explains the reason for canceling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the Batch activity logs.
Implementations§
source§impl TerminateJobInput
 
impl TerminateJobInput
sourcepub fn builder() -> TerminateJobInputBuilder
 
pub fn builder() -> TerminateJobInputBuilder
Creates a new builder-style object to manufacture TerminateJobInput.
Trait Implementations§
source§impl Clone for TerminateJobInput
 
impl Clone for TerminateJobInput
source§fn clone(&self) -> TerminateJobInput
 
fn clone(&self) -> TerminateJobInput
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 TerminateJobInput
 
impl Debug for TerminateJobInput
source§impl PartialEq for TerminateJobInput
 
impl PartialEq for TerminateJobInput
source§fn eq(&self, other: &TerminateJobInput) -> bool
 
fn eq(&self, other: &TerminateJobInput) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TerminateJobInput
Auto Trait Implementations§
impl Freeze for TerminateJobInput
impl RefUnwindSafe for TerminateJobInput
impl Send for TerminateJobInput
impl Sync for TerminateJobInput
impl Unpin for TerminateJobInput
impl UnwindSafe for TerminateJobInput
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> 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>
Creates a shared type from an unshared type.