pub struct GoogleModelOptions {
pub api_key: String,
pub base_url: Option<String>,
pub headers: Option<HashMap<String, String>>,
pub client: Option<Client>,
}Fields§
§api_key: String§base_url: Option<String>§headers: Option<HashMap<String, String>>§client: Option<Client>Trait Implementations§
Source§impl Clone for GoogleModelOptions
impl Clone for GoogleModelOptions
Source§fn clone(&self) -> GoogleModelOptions
fn clone(&self) -> GoogleModelOptions
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 Default for GoogleModelOptions
impl Default for GoogleModelOptions
Source§fn default() -> GoogleModelOptions
fn default() -> GoogleModelOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GoogleModelOptions
impl !RefUnwindSafe for GoogleModelOptions
impl Send for GoogleModelOptions
impl Sync for GoogleModelOptions
impl Unpin for GoogleModelOptions
impl !UnwindSafe for GoogleModelOptions
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