Struct aws_sdk_qconnect::operation::notify_recommendations_received::NotifyRecommendationsReceivedOutput
source · #[non_exhaustive]pub struct NotifyRecommendationsReceivedOutput {
pub recommendation_ids: Option<Vec<String>>,
pub errors: Option<Vec<NotifyRecommendationsReceivedError>>,
/* private fields */
}
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.recommendation_ids: Option<Vec<String>>
The identifiers of the recommendations.
errors: Option<Vec<NotifyRecommendationsReceivedError>>
The identifiers of recommendations that are causing errors.
Implementations§
source§impl NotifyRecommendationsReceivedOutput
impl NotifyRecommendationsReceivedOutput
sourcepub fn recommendation_ids(&self) -> &[String]
pub fn recommendation_ids(&self) -> &[String]
The identifiers of the recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .recommendation_ids.is_none()
.
sourcepub fn errors(&self) -> &[NotifyRecommendationsReceivedError]
pub fn errors(&self) -> &[NotifyRecommendationsReceivedError]
The identifiers of recommendations that are causing errors.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none()
.
source§impl NotifyRecommendationsReceivedOutput
impl NotifyRecommendationsReceivedOutput
sourcepub fn builder() -> NotifyRecommendationsReceivedOutputBuilder
pub fn builder() -> NotifyRecommendationsReceivedOutputBuilder
Creates a new builder-style object to manufacture NotifyRecommendationsReceivedOutput
.
Trait Implementations§
source§impl Clone for NotifyRecommendationsReceivedOutput
impl Clone for NotifyRecommendationsReceivedOutput
source§fn clone(&self) -> NotifyRecommendationsReceivedOutput
fn clone(&self) -> NotifyRecommendationsReceivedOutput
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 PartialEq for NotifyRecommendationsReceivedOutput
impl PartialEq for NotifyRecommendationsReceivedOutput
source§fn eq(&self, other: &NotifyRecommendationsReceivedOutput) -> bool
fn eq(&self, other: &NotifyRecommendationsReceivedOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for NotifyRecommendationsReceivedOutput
impl RequestId for NotifyRecommendationsReceivedOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for NotifyRecommendationsReceivedOutput
Auto Trait Implementations§
impl Freeze for NotifyRecommendationsReceivedOutput
impl RefUnwindSafe for NotifyRecommendationsReceivedOutput
impl Send for NotifyRecommendationsReceivedOutput
impl Sync for NotifyRecommendationsReceivedOutput
impl Unpin for NotifyRecommendationsReceivedOutput
impl UnwindSafe for NotifyRecommendationsReceivedOutput
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.