#[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
failureCodefor 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: i32The number of worlds that were generated.
failed_world_count: i32The number of worlds that failed.
Implementations§
source§impl 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
failureCodefor 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.
source§impl WorldGenerationJobSummary
impl WorldGenerationJobSummary
sourcepub fn builder() -> WorldGenerationJobSummaryBuilder
pub fn builder() -> WorldGenerationJobSummaryBuilder
Creates a new builder-style object to manufacture WorldGenerationJobSummary.
Trait Implementations§
source§impl Clone for WorldGenerationJobSummary
impl Clone for WorldGenerationJobSummary
source§fn clone(&self) -> WorldGenerationJobSummary
fn clone(&self) -> WorldGenerationJobSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for WorldGenerationJobSummary
impl Debug for WorldGenerationJobSummary
source§impl PartialEq for WorldGenerationJobSummary
impl PartialEq for WorldGenerationJobSummary
source§fn eq(&self, other: &WorldGenerationJobSummary) -> bool
fn eq(&self, other: &WorldGenerationJobSummary) -> bool
self and other values to be equal, and is used
by ==.