#[non_exhaustive]pub enum ModelMetadata {
ArticleSuggestionModelMetadata(Box<ArticleSuggestionModelMetadata>),
SmartReplyModelMetadata(Box<SmartReplyModelMetadata>),
}Available on crate feature
conversation-models only.Expand description
Required. The model metadata that is specific to the problem type. Must match the metadata type of the dataset used to train the model.
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.
ArticleSuggestionModelMetadata(Box<ArticleSuggestionModelMetadata>)
Metadata for article suggestion models.
SmartReplyModelMetadata(Box<SmartReplyModelMetadata>)
Metadata for smart reply models.
Trait Implementations§
Source§impl Clone for ModelMetadata
impl Clone for ModelMetadata
Source§fn clone(&self) -> ModelMetadata
fn clone(&self) -> ModelMetadata
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 ModelMetadata
impl Debug for ModelMetadata
Source§impl PartialEq for ModelMetadata
impl PartialEq for ModelMetadata
impl StructuralPartialEq for ModelMetadata
Auto Trait Implementations§
impl Freeze for ModelMetadata
impl RefUnwindSafe for ModelMetadata
impl Send for ModelMetadata
impl Sync for ModelMetadata
impl Unpin for ModelMetadata
impl UnwindSafe for ModelMetadata
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