#[non_exhaustive]pub struct RecommendationRelatedEvent {
pub name: Option<String>,
pub resources: Option<Vec<RecommendationRelatedEventResource>>,
}
Expand description
Information about an event that is related to a recommendation.
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 event. This corresponds to the Name
field in an Event
object.
resources: Option<Vec<RecommendationRelatedEventResource>>
A ResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
Implementations§
source§impl RecommendationRelatedEvent
impl RecommendationRelatedEvent
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the event. This corresponds to the Name
field in an Event
object.
sourcepub fn resources(&self) -> &[RecommendationRelatedEventResource]
pub fn resources(&self) -> &[RecommendationRelatedEventResource]
A ResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none()
.
source§impl RecommendationRelatedEvent
impl RecommendationRelatedEvent
sourcepub fn builder() -> RecommendationRelatedEventBuilder
pub fn builder() -> RecommendationRelatedEventBuilder
Creates a new builder-style object to manufacture RecommendationRelatedEvent
.
Trait Implementations§
source§impl Clone for RecommendationRelatedEvent
impl Clone for RecommendationRelatedEvent
source§fn clone(&self) -> RecommendationRelatedEvent
fn clone(&self) -> RecommendationRelatedEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecommendationRelatedEvent
impl Debug for RecommendationRelatedEvent
source§impl PartialEq for RecommendationRelatedEvent
impl PartialEq for RecommendationRelatedEvent
source§fn eq(&self, other: &RecommendationRelatedEvent) -> bool
fn eq(&self, other: &RecommendationRelatedEvent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationRelatedEvent
Auto Trait Implementations§
impl Freeze for RecommendationRelatedEvent
impl RefUnwindSafe for RecommendationRelatedEvent
impl Send for RecommendationRelatedEvent
impl Sync for RecommendationRelatedEvent
impl Unpin for RecommendationRelatedEvent
impl UnwindSafe for RecommendationRelatedEvent
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