Struct aws_sdk_personalize::types::CampaignConfig
source · #[non_exhaustive]pub struct CampaignConfig {
pub item_exploration_config: Option<HashMap<String, String>>,
}Expand description
The configuration details of a campaign.
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.item_exploration_config: Option<HashMap<String, String>>Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your solution uses the User-Personalization recipe.
Implementations§
source§impl CampaignConfig
impl CampaignConfig
sourcepub fn item_exploration_config(&self) -> Option<&HashMap<String, String>>
pub fn item_exploration_config(&self) -> Option<&HashMap<String, String>>
Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your solution uses the User-Personalization recipe.
source§impl CampaignConfig
impl CampaignConfig
sourcepub fn builder() -> CampaignConfigBuilder
pub fn builder() -> CampaignConfigBuilder
Creates a new builder-style object to manufacture CampaignConfig.
Trait Implementations§
source§impl Clone for CampaignConfig
impl Clone for CampaignConfig
source§fn clone(&self) -> CampaignConfig
fn clone(&self) -> CampaignConfig
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 CampaignConfig
impl Debug for CampaignConfig
source§impl PartialEq<CampaignConfig> for CampaignConfig
impl PartialEq<CampaignConfig> for CampaignConfig
source§fn eq(&self, other: &CampaignConfig) -> bool
fn eq(&self, other: &CampaignConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CampaignConfig
Auto Trait Implementations§
impl RefUnwindSafe for CampaignConfig
impl Send for CampaignConfig
impl Sync for CampaignConfig
impl Unpin for CampaignConfig
impl UnwindSafe for CampaignConfig
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