Struct aws_sdk_batch::types::FrontOfQueueDetail
source · #[non_exhaustive]pub struct FrontOfQueueDetail {
pub jobs: Option<Vec<FrontOfQueueJobSummary>>,
pub last_updated_at: Option<i64>,
}
Expand description
Contains a list of the first 100 RUNNABLE
jobs associated to a single job queue.
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.jobs: Option<Vec<FrontOfQueueJobSummary>>
The Amazon Resource Names (ARNs) of the first 100 RUNNABLE
jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.
last_updated_at: Option<i64>
The Unix timestamp (in milliseconds) for when each of the first 100 RUNNABLE
jobs were last updated.
Implementations§
source§impl FrontOfQueueDetail
impl FrontOfQueueDetail
sourcepub fn jobs(&self) -> &[FrontOfQueueJobSummary]
pub fn jobs(&self) -> &[FrontOfQueueJobSummary]
The Amazon Resource Names (ARNs) of the first 100 RUNNABLE
jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .jobs.is_none()
.
sourcepub fn last_updated_at(&self) -> Option<i64>
pub fn last_updated_at(&self) -> Option<i64>
The Unix timestamp (in milliseconds) for when each of the first 100 RUNNABLE
jobs were last updated.
source§impl FrontOfQueueDetail
impl FrontOfQueueDetail
sourcepub fn builder() -> FrontOfQueueDetailBuilder
pub fn builder() -> FrontOfQueueDetailBuilder
Creates a new builder-style object to manufacture FrontOfQueueDetail
.
Trait Implementations§
source§impl Clone for FrontOfQueueDetail
impl Clone for FrontOfQueueDetail
source§fn clone(&self) -> FrontOfQueueDetail
fn clone(&self) -> FrontOfQueueDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FrontOfQueueDetail
impl Debug for FrontOfQueueDetail
source§impl PartialEq for FrontOfQueueDetail
impl PartialEq for FrontOfQueueDetail
source§fn eq(&self, other: &FrontOfQueueDetail) -> bool
fn eq(&self, other: &FrontOfQueueDetail) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FrontOfQueueDetail
Auto Trait Implementations§
impl Freeze for FrontOfQueueDetail
impl RefUnwindSafe for FrontOfQueueDetail
impl Send for FrontOfQueueDetail
impl Sync for FrontOfQueueDetail
impl Unpin for FrontOfQueueDetail
impl UnwindSafe for FrontOfQueueDetail
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