pub struct GoogleAiBackend;Expand description
Configuration for the Gemini Developer API backend.
Mirrors GoogleAIBackend in packages/ai/src/backend.ts.
Implementations§
Source§impl GoogleAiBackend
impl GoogleAiBackend
Sourcepub fn backend_type(&self) -> BackendType
pub fn backend_type(&self) -> BackendType
Returns the backend type tag.
Trait Implementations§
Source§impl Clone for GoogleAiBackend
impl Clone for GoogleAiBackend
Source§fn clone(&self) -> GoogleAiBackend
fn clone(&self) -> GoogleAiBackend
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 GoogleAiBackend
impl Debug for GoogleAiBackend
Source§impl Default for GoogleAiBackend
impl Default for GoogleAiBackend
Source§fn default() -> GoogleAiBackend
fn default() -> GoogleAiBackend
Returns the “default value” for a type. Read more
Source§impl PartialEq for GoogleAiBackend
impl PartialEq for GoogleAiBackend
impl Eq for GoogleAiBackend
impl StructuralPartialEq for GoogleAiBackend
Auto Trait Implementations§
impl Freeze for GoogleAiBackend
impl RefUnwindSafe for GoogleAiBackend
impl Send for GoogleAiBackend
impl Sync for GoogleAiBackend
impl Unpin for GoogleAiBackend
impl UnwindSafe for GoogleAiBackend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.