Struct aws_sdk_backup::types::RestoreJobSummary
source · #[non_exhaustive]pub struct RestoreJobSummary {
pub region: Option<String>,
pub account_id: Option<String>,
pub state: Option<RestoreJobState>,
pub resource_type: Option<String>,
pub count: i32,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
Expand description
This is a summary of restore jobs created or running within the most recent 30 days.
The returned summary may contain the following: Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
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.region: Option<String>
The Amazon Web Services Regions within the job summary.
account_id: Option<String>
The account ID that owns the jobs within the summary.
state: Option<RestoreJobState>
This value is job count for jobs with the specified state.
resource_type: Option<String>
This value is the job count for the specified resource type. The request GetSupportedResourceTypes
returns strings for supported resource types.
count: i32
The value as a number of jobs in a job summary.
start_time: Option<DateTime>
The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
end_time: Option<DateTime>
The value of time in number format of a job end time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
Implementations§
source§impl RestoreJobSummary
impl RestoreJobSummary
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The account ID that owns the jobs within the summary.
sourcepub fn state(&self) -> Option<&RestoreJobState>
pub fn state(&self) -> Option<&RestoreJobState>
This value is job count for jobs with the specified state.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
This value is the job count for the specified resource type. The request GetSupportedResourceTypes
returns strings for supported resource types.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
source§impl RestoreJobSummary
impl RestoreJobSummary
sourcepub fn builder() -> RestoreJobSummaryBuilder
pub fn builder() -> RestoreJobSummaryBuilder
Creates a new builder-style object to manufacture RestoreJobSummary
.
Trait Implementations§
source§impl Clone for RestoreJobSummary
impl Clone for RestoreJobSummary
source§fn clone(&self) -> RestoreJobSummary
fn clone(&self) -> RestoreJobSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RestoreJobSummary
impl Debug for RestoreJobSummary
source§impl PartialEq for RestoreJobSummary
impl PartialEq for RestoreJobSummary
impl StructuralPartialEq for RestoreJobSummary
Auto Trait Implementations§
impl Freeze for RestoreJobSummary
impl RefUnwindSafe for RestoreJobSummary
impl Send for RestoreJobSummary
impl Sync for RestoreJobSummary
impl Unpin for RestoreJobSummary
impl UnwindSafe for RestoreJobSummary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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