Struct aws_sdk_batch::model::JobTimeout [−][src]
#[non_exhaustive]pub struct JobTimeout {
pub attempt_duration_seconds: i32,
}
Expand description
An object representing a job timeout configuration.
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.attempt_duration_seconds: i32
The time duration in seconds (measured from the job attempt's startedAt
timestamp) after which
Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.
Implementations
Creates a new builder-style object to manufacture JobTimeout
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JobTimeout
impl Send for JobTimeout
impl Sync for JobTimeout
impl Unpin for JobTimeout
impl UnwindSafe for JobTimeout
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more