#[non_exhaustive]pub enum TunedModelRef {
TunedModel(String),
TuningJob(String),
PipelineJob(String),
}Available on crate feature
gen-ai-tuning-service only.Expand description
The Tuned Model Reference for 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.
TunedModel(String)
Support migration from model registry.
TuningJob(String)
Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5 and above.
PipelineJob(String)
Support migration from tuning job list page, from bison model to gemini model.
Trait Implementations§
Source§impl Clone for TunedModelRef
impl Clone for TunedModelRef
Source§fn clone(&self) -> TunedModelRef
fn clone(&self) -> TunedModelRef
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 TunedModelRef
impl Debug for TunedModelRef
Source§impl PartialEq for TunedModelRef
impl PartialEq for TunedModelRef
impl StructuralPartialEq for TunedModelRef
Auto Trait Implementations§
impl Freeze for TunedModelRef
impl RefUnwindSafe for TunedModelRef
impl Send for TunedModelRef
impl Sync for TunedModelRef
impl Unpin for TunedModelRef
impl UnwindSafe for TunedModelRef
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