#[non_exhaustive]pub enum EngineConfig {
ChatEngineConfig(Box<ChatEngineConfig>),
SearchEngineConfig(Box<SearchEngineConfig>),
MediaRecommendationEngineConfig(Box<MediaRecommendationEngineConfig>),
}Available on crate feature
engine-service only.Expand description
Additional config specs that defines the behavior of the engine.
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.
ChatEngineConfig(Box<ChatEngineConfig>)
Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
SearchEngineConfig(Box<SearchEngineConfig>)
Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
MediaRecommendationEngineConfig(Box<MediaRecommendationEngineConfig>)
Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical.
Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
Returns a duplicate 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 EngineConfig
impl Debug for EngineConfig
Source§impl PartialEq for EngineConfig
impl PartialEq for EngineConfig
impl StructuralPartialEq for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnwindSafe for EngineConfig
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