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