#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[RecommendationRelatedEventResource]>
pub fn resources(&self) -> Option<&[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.
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
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 RecommendationRelatedEvent
impl Debug for RecommendationRelatedEvent
source§impl PartialEq<RecommendationRelatedEvent> for RecommendationRelatedEvent
impl PartialEq<RecommendationRelatedEvent> for RecommendationRelatedEvent
source§fn eq(&self, other: &RecommendationRelatedEvent) -> bool
fn eq(&self, other: &RecommendationRelatedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationRelatedEvent
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more