#[non_exhaustive]pub enum Action {
BoostAction(Box<BoostAction>),
FilterAction(Box<FilterAction>),
RedirectAction(Box<RedirectAction>),
SynonymsAction(Box<SynonymsAction>),
PromoteAction(Box<PromoteAction>),
}Available on crate feature
control-service only.Expand description
Actions are restricted by Vertical and Solution
Required.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BoostAction(Box<BoostAction>)
Defines a boost-type control
FilterAction(Box<FilterAction>)
Defines a filter-type control Currently not supported by Recommendation
RedirectAction(Box<RedirectAction>)
Defines a redirect-type control.
SynonymsAction(Box<SynonymsAction>)
Treats a group of terms as synonyms of one another.
PromoteAction(Box<PromoteAction>)
Promote certain links based on predefined trigger queries.
Trait Implementations§
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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