Struct aws_sdk_personalize::types::SolutionSummary
source · #[non_exhaustive]pub struct SolutionSummary {
pub name: Option<String>,
pub solution_arn: Option<String>,
pub status: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub recipe_arn: Option<String>,
}Expand description
Provides a summary of the properties of a solution. For a complete listing, call the DescribeSolution 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.name: Option<String>The name of the solution.
solution_arn: Option<String>The Amazon Resource Name (ARN) of the solution.
status: Option<String>The status of the solution.
A solution can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
creation_date_time: Option<DateTime>The date and time (in Unix time) that the solution was created.
last_updated_date_time: Option<DateTime>The date and time (in Unix time) that the solution was last updated.
recipe_arn: Option<String>The Amazon Resource Name (ARN) of the recipe used by the solution.
Implementations§
source§impl SolutionSummary
impl SolutionSummary
sourcepub fn solution_arn(&self) -> Option<&str>
pub fn solution_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the solution.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the solution.
A solution can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the solution 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 solution was last updated.
sourcepub fn recipe_arn(&self) -> Option<&str>
pub fn recipe_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the recipe used by the solution.
source§impl SolutionSummary
impl SolutionSummary
sourcepub fn builder() -> SolutionSummaryBuilder
pub fn builder() -> SolutionSummaryBuilder
Creates a new builder-style object to manufacture SolutionSummary.
Trait Implementations§
source§impl Clone for SolutionSummary
impl Clone for SolutionSummary
source§fn clone(&self) -> SolutionSummary
fn clone(&self) -> SolutionSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SolutionSummary
impl Debug for SolutionSummary
source§impl PartialEq for SolutionSummary
impl PartialEq for SolutionSummary
source§fn eq(&self, other: &SolutionSummary) -> bool
fn eq(&self, other: &SolutionSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SolutionSummary
Auto Trait Implementations§
impl Freeze for SolutionSummary
impl RefUnwindSafe for SolutionSummary
impl Send for SolutionSummary
impl Sync for SolutionSummary
impl Unpin for SolutionSummary
impl UnwindSafe for SolutionSummary
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