pub struct AnthropicServiceConfig {
pub base_url: String,
}Expand description
Anthropic API service configuration.
Fields§
§base_url: StringBase URL for the Anthropic API.
Trait Implementations§
Source§impl Clone for AnthropicServiceConfig
impl Clone for AnthropicServiceConfig
Source§fn clone(&self) -> AnthropicServiceConfig
fn clone(&self) -> AnthropicServiceConfig
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 AnthropicServiceConfig
impl Debug for AnthropicServiceConfig
Source§impl Default for AnthropicServiceConfig
impl Default for AnthropicServiceConfig
Source§impl<'de> Deserialize<'de> for AnthropicServiceConfigwhere
AnthropicServiceConfig: Default,
impl<'de> Deserialize<'de> for AnthropicServiceConfigwhere
AnthropicServiceConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for AnthropicServiceConfig
impl JsonSchema for AnthropicServiceConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for AnthropicServiceConfig
impl RefUnwindSafe for AnthropicServiceConfig
impl Send for AnthropicServiceConfig
impl Sync for AnthropicServiceConfig
impl Unpin for AnthropicServiceConfig
impl UnsafeUnpin for AnthropicServiceConfig
impl UnwindSafe for AnthropicServiceConfig
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