pub enum ModelConfigEndpoint {
GeminiApiEndpoint(GeminiAPIEndpoint),
VertexEndpoint(VertexEndpoint),
GemmaEndpoint(GemmaEndpoint),
CustomEndpoint(CustomEndpoint),
}Expand description
The endpoint oneof of ModelConfig, as an owned value.
Variants§
GeminiApiEndpoint(GeminiAPIEndpoint)
VertexEndpoint(VertexEndpoint)
GemmaEndpoint(GemmaEndpoint)
CustomEndpoint(CustomEndpoint)
Trait Implementations§
Source§impl Clone for ModelConfigEndpoint
impl Clone for ModelConfigEndpoint
Source§fn clone(&self) -> ModelConfigEndpoint
fn clone(&self) -> ModelConfigEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelConfigEndpoint
impl Debug for ModelConfigEndpoint
Source§impl PartialEq for ModelConfigEndpoint
impl PartialEq for ModelConfigEndpoint
impl StructuralPartialEq for ModelConfigEndpoint
Auto Trait Implementations§
impl Freeze for ModelConfigEndpoint
impl RefUnwindSafe for ModelConfigEndpoint
impl Send for ModelConfigEndpoint
impl Sync for ModelConfigEndpoint
impl Unpin for ModelConfigEndpoint
impl UnsafeUnpin for ModelConfigEndpoint
impl UnwindSafe for ModelConfigEndpoint
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