#[non_exhaustive]pub struct RecommendationSource { /* private fields */ }
Expand description
Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.
Implementations§
source§impl RecommendationSource
impl RecommendationSource
sourcepub fn recommendation_source_arn(&self) -> Option<&str>
pub fn recommendation_source_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the recommendation source.
sourcepub fn recommendation_source_type(&self) -> Option<&RecommendationSourceType>
pub fn recommendation_source_type(&self) -> Option<&RecommendationSourceType>
The resource type of the recommendation source.
source§impl RecommendationSource
impl RecommendationSource
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecommendationSource
.
Trait Implementations§
source§impl Clone for RecommendationSource
impl Clone for RecommendationSource
source§fn clone(&self) -> RecommendationSource
fn clone(&self) -> RecommendationSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RecommendationSource
impl Debug for RecommendationSource
source§impl PartialEq<RecommendationSource> for RecommendationSource
impl PartialEq<RecommendationSource> for RecommendationSource
source§fn eq(&self, other: &RecommendationSource) -> bool
fn eq(&self, other: &RecommendationSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.