#[non_exhaustive]pub struct RecommenderUpdateSummary {
pub recommender_config: Option<RecommenderConfig>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub status: Option<String>,
pub failure_reason: Option<String>,
}Expand description
Provides a summary of the properties of a recommender update. For a complete listing, call the DescribeRecommender API.
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.recommender_config: Option<RecommenderConfig>The configuration details of the recommender update.
creation_date_time: Option<DateTime>The date and time (in Unix format) that the recommender update was created.
last_updated_date_time: Option<DateTime>The date and time (in Unix time) that the recommender update was last updated.
status: Option<String>The status of the recommender update.
A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
failure_reason: Option<String>If a recommender update fails, the reason behind the failure.
Implementations§
source§impl RecommenderUpdateSummary
impl RecommenderUpdateSummary
sourcepub fn recommender_config(&self) -> Option<&RecommenderConfig>
pub fn recommender_config(&self) -> Option<&RecommenderConfig>
The configuration details of the recommender update.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time (in Unix format) that the recommender update was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the recommender update was last updated.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the recommender update.
A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If a recommender update fails, the reason behind the failure.
source§impl RecommenderUpdateSummary
impl RecommenderUpdateSummary
sourcepub fn builder() -> RecommenderUpdateSummaryBuilder
pub fn builder() -> RecommenderUpdateSummaryBuilder
Creates a new builder-style object to manufacture RecommenderUpdateSummary.
Trait Implementations§
source§impl Clone for RecommenderUpdateSummary
impl Clone for RecommenderUpdateSummary
source§fn clone(&self) -> RecommenderUpdateSummary
fn clone(&self) -> RecommenderUpdateSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecommenderUpdateSummary
impl Debug for RecommenderUpdateSummary
source§impl PartialEq for RecommenderUpdateSummary
impl PartialEq for RecommenderUpdateSummary
source§fn eq(&self, other: &RecommenderUpdateSummary) -> bool
fn eq(&self, other: &RecommenderUpdateSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RecommenderUpdateSummary
Auto Trait Implementations§
impl Freeze for RecommenderUpdateSummary
impl RefUnwindSafe for RecommenderUpdateSummary
impl Send for RecommenderUpdateSummary
impl Sync for RecommenderUpdateSummary
impl Unpin for RecommenderUpdateSummary
impl UnwindSafe for RecommenderUpdateSummary
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