Struct aws_sdk_robomaker::model::WorldGenerationJobSummary
source · [−]#[non_exhaustive]pub struct WorldGenerationJobSummary {
pub arn: Option<String>,
pub template: Option<String>,
pub created_at: Option<DateTime>,
pub status: Option<WorldGenerationJobStatus>,
pub world_count: Option<WorldCount>,
pub succeeded_world_count: i32,
pub failed_world_count: i32,
}
Expand description
Information about a world generator 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.arn: Option<String>
The Amazon Resource Name (ARN) of the world generator job.
template: Option<String>
The Amazon Resource Name (arn) of the world template.
created_at: Option<DateTime>
The time, in milliseconds since the epoch, when the world generator job was created.
status: Option<WorldGenerationJobStatus>
The status of the world generator job:
- Pending
-
The world generator job request is pending.
- Running
-
The world generator job is running.
- Completed
-
The world generator job completed.
- Failed
-
The world generator job failed. See
failureCode
for more information. - PartialFailed
-
Some worlds did not generate.
- Canceled
-
The world generator job was cancelled.
- Canceling
-
The world generator job is being cancelled.
world_count: Option<WorldCount>
Information about the world count.
succeeded_world_count: i32
The number of worlds that were generated.
failed_world_count: i32
The number of worlds that failed.
Implementations
sourceimpl WorldGenerationJobSummary
impl WorldGenerationJobSummary
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time, in milliseconds since the epoch, when the world generator job was created.
sourcepub fn status(&self) -> Option<&WorldGenerationJobStatus>
pub fn status(&self) -> Option<&WorldGenerationJobStatus>
The status of the world generator job:
- Pending
-
The world generator job request is pending.
- Running
-
The world generator job is running.
- Completed
-
The world generator job completed.
- Failed
-
The world generator job failed. See
failureCode
for more information. - PartialFailed
-
Some worlds did not generate.
- Canceled
-
The world generator job was cancelled.
- Canceling
-
The world generator job is being cancelled.
sourcepub fn world_count(&self) -> Option<&WorldCount>
pub fn world_count(&self) -> Option<&WorldCount>
Information about the world count.
sourcepub fn succeeded_world_count(&self) -> i32
pub fn succeeded_world_count(&self) -> i32
The number of worlds that were generated.
sourcepub fn failed_world_count(&self) -> i32
pub fn failed_world_count(&self) -> i32
The number of worlds that failed.
sourceimpl WorldGenerationJobSummary
impl WorldGenerationJobSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorldGenerationJobSummary
Trait Implementations
sourceimpl Clone for WorldGenerationJobSummary
impl Clone for WorldGenerationJobSummary
sourcefn clone(&self) -> WorldGenerationJobSummary
fn clone(&self) -> WorldGenerationJobSummary
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 WorldGenerationJobSummary
impl Debug for WorldGenerationJobSummary
sourceimpl PartialEq<WorldGenerationJobSummary> for WorldGenerationJobSummary
impl PartialEq<WorldGenerationJobSummary> for WorldGenerationJobSummary
sourcefn eq(&self, other: &WorldGenerationJobSummary) -> bool
fn eq(&self, other: &WorldGenerationJobSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WorldGenerationJobSummary) -> bool
fn ne(&self, other: &WorldGenerationJobSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for WorldGenerationJobSummary
Auto Trait Implementations
impl RefUnwindSafe for WorldGenerationJobSummary
impl Send for WorldGenerationJobSummary
impl Sync for WorldGenerationJobSummary
impl Unpin for WorldGenerationJobSummary
impl UnwindSafe for WorldGenerationJobSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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