#[non_exhaustive]pub struct BatchUpdateRecommendationStatusSuccessfulEntry {
pub entry_id: String,
pub reference_id: String,
pub item: Option<UpdateRecommendationStatusItem>,
pub excluded: bool,
pub exclude_reason: Option<ExcludeRecommendationReason>,
}Expand description
List of operational recommendations that were successfully included or excluded.
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.entry_id: StringAn identifier for an entry in this batch that is used to communicate the result.
The entryIds of a batch request need to be unique within a request.
reference_id: StringReference identifier of the operational recommendation.
item: Option<UpdateRecommendationStatusItem>The operational recommendation item.
excluded: boolIndicates if the operational recommendation was successfully excluded.
exclude_reason: Option<ExcludeRecommendationReason>Indicates the reason for excluding an operational recommendation.
Implementations§
source§impl BatchUpdateRecommendationStatusSuccessfulEntry
impl BatchUpdateRecommendationStatusSuccessfulEntry
sourcepub fn entry_id(&self) -> &str
pub fn entry_id(&self) -> &str
An identifier for an entry in this batch that is used to communicate the result.
The entryIds of a batch request need to be unique within a request.
sourcepub fn reference_id(&self) -> &str
pub fn reference_id(&self) -> &str
Reference identifier of the operational recommendation.
sourcepub fn item(&self) -> Option<&UpdateRecommendationStatusItem>
pub fn item(&self) -> Option<&UpdateRecommendationStatusItem>
The operational recommendation item.
sourcepub fn excluded(&self) -> bool
pub fn excluded(&self) -> bool
Indicates if the operational recommendation was successfully excluded.
sourcepub fn exclude_reason(&self) -> Option<&ExcludeRecommendationReason>
pub fn exclude_reason(&self) -> Option<&ExcludeRecommendationReason>
Indicates the reason for excluding an operational recommendation.
source§impl BatchUpdateRecommendationStatusSuccessfulEntry
impl BatchUpdateRecommendationStatusSuccessfulEntry
sourcepub fn builder() -> BatchUpdateRecommendationStatusSuccessfulEntryBuilder
pub fn builder() -> BatchUpdateRecommendationStatusSuccessfulEntryBuilder
Creates a new builder-style object to manufacture BatchUpdateRecommendationStatusSuccessfulEntry.
Trait Implementations§
source§impl Clone for BatchUpdateRecommendationStatusSuccessfulEntry
impl Clone for BatchUpdateRecommendationStatusSuccessfulEntry
source§fn clone(&self) -> BatchUpdateRecommendationStatusSuccessfulEntry
fn clone(&self) -> BatchUpdateRecommendationStatusSuccessfulEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchUpdateRecommendationStatusSuccessfulEntry
impl PartialEq for BatchUpdateRecommendationStatusSuccessfulEntry
source§fn eq(&self, other: &BatchUpdateRecommendationStatusSuccessfulEntry) -> bool
fn eq(&self, other: &BatchUpdateRecommendationStatusSuccessfulEntry) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchUpdateRecommendationStatusSuccessfulEntry
Auto Trait Implementations§
impl Freeze for BatchUpdateRecommendationStatusSuccessfulEntry
impl RefUnwindSafe for BatchUpdateRecommendationStatusSuccessfulEntry
impl Send for BatchUpdateRecommendationStatusSuccessfulEntry
impl Sync for BatchUpdateRecommendationStatusSuccessfulEntry
impl Unpin for BatchUpdateRecommendationStatusSuccessfulEntry
impl UnwindSafe for BatchUpdateRecommendationStatusSuccessfulEntry
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