#[non_exhaustive]pub struct GenerationSpec {
pub model_id: String,
/* private fields */
}Available on crate feature
assistant-service only.Expand description
Assistant generation specification for the request. This allows to override the default generation configuration at the engine level.
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.model_id: StringOptional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used.
Implementations§
Trait Implementations§
Source§impl Clone for GenerationSpec
impl Clone for GenerationSpec
Source§fn clone(&self) -> GenerationSpec
fn clone(&self) -> GenerationSpec
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 GenerationSpec
impl Debug for GenerationSpec
Source§impl Default for GenerationSpec
impl Default for GenerationSpec
Source§fn default() -> GenerationSpec
fn default() -> GenerationSpec
Returns the “default value” for a type. Read more
Source§impl Message for GenerationSpec
impl Message for GenerationSpec
Source§impl PartialEq for GenerationSpec
impl PartialEq for GenerationSpec
impl StructuralPartialEq for GenerationSpec
Auto Trait Implementations§
impl Freeze for GenerationSpec
impl RefUnwindSafe for GenerationSpec
impl Send for GenerationSpec
impl Sync for GenerationSpec
impl Unpin for GenerationSpec
impl UnwindSafe for GenerationSpec
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