Struct aws_sdk_batch::model::JobTimeout
source · [−]#[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
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
sourceimpl JobTimeout
impl JobTimeout
sourcepub fn attempt_duration_seconds(&self) -> i32
pub fn attempt_duration_seconds(&self) -> 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.
sourceimpl JobTimeout
impl JobTimeout
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobTimeout
Trait Implementations
sourceimpl Clone for JobTimeout
impl Clone for JobTimeout
sourcefn clone(&self) -> JobTimeout
fn clone(&self) -> JobTimeout
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JobTimeout
impl Debug for JobTimeout
sourceimpl PartialEq<JobTimeout> for JobTimeout
impl PartialEq<JobTimeout> for JobTimeout
sourcefn eq(&self, other: &JobTimeout) -> bool
fn eq(&self, other: &JobTimeout) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JobTimeout) -> bool
fn ne(&self, other: &JobTimeout) -> bool
This method tests for !=
.
impl StructuralPartialEq for JobTimeout
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more