#[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 ==.