Struct aws_sdk_greengrassv2::types::IoTJobTimeoutConfig
source · #[non_exhaustive]pub struct IoTJobTimeoutConfig {
pub in_progress_timeout_in_minutes: Option<i64>,
}
Expand description
Contains information about the timeout configuration for a job.
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.in_progress_timeout_in_minutes: Option<i64>
The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to IN_PROGRESS
. If the job status doesn't change to a terminal state before the time expires, then the job status is set to TIMED_OUT
.
The timeout interval must be between 1 minute and 7 days (10080 minutes).
Implementations§
source§impl IoTJobTimeoutConfig
impl IoTJobTimeoutConfig
sourcepub fn in_progress_timeout_in_minutes(&self) -> Option<i64>
pub fn in_progress_timeout_in_minutes(&self) -> Option<i64>
The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to IN_PROGRESS
. If the job status doesn't change to a terminal state before the time expires, then the job status is set to TIMED_OUT
.
The timeout interval must be between 1 minute and 7 days (10080 minutes).
source§impl IoTJobTimeoutConfig
impl IoTJobTimeoutConfig
sourcepub fn builder() -> IoTJobTimeoutConfigBuilder
pub fn builder() -> IoTJobTimeoutConfigBuilder
Creates a new builder-style object to manufacture IoTJobTimeoutConfig
.
Trait Implementations§
source§impl Clone for IoTJobTimeoutConfig
impl Clone for IoTJobTimeoutConfig
source§fn clone(&self) -> IoTJobTimeoutConfig
fn clone(&self) -> IoTJobTimeoutConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IoTJobTimeoutConfig
impl Debug for IoTJobTimeoutConfig
source§impl PartialEq for IoTJobTimeoutConfig
impl PartialEq for IoTJobTimeoutConfig
source§fn eq(&self, other: &IoTJobTimeoutConfig) -> bool
fn eq(&self, other: &IoTJobTimeoutConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IoTJobTimeoutConfig
Auto Trait Implementations§
impl Freeze for IoTJobTimeoutConfig
impl RefUnwindSafe for IoTJobTimeoutConfig
impl Send for IoTJobTimeoutConfig
impl Sync for IoTJobTimeoutConfig
impl Unpin for IoTJobTimeoutConfig
impl UnwindSafe for IoTJobTimeoutConfig
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more