pub struct Config {
pub listen: SocketAddr,
pub openai_base: String,
pub anthropic_base: String,
pub vertex_enabled: bool,
pub vertex_base: Option<String>,
pub bedrock_enabled: bool,
pub bedrock_base: Option<String>,
}Expand description
Proxy configuration, sourced from environment variables.
Fields§
§listen: SocketAddr§openai_base: String§anthropic_base: String§vertex_enabled: bool§vertex_base: Option<String>§bedrock_enabled: bool§bedrock_base: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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