pub struct GatewayConfig {
pub url: Option<String>,
pub project: Option<String>,
pub claude_code_model: Option<String>,
pub codex_model: Option<String>,
}Expand description
[gateway]: how to reach and use the AI Gateway.
Fields§
§url: Option<String>The gateway console’s address, when the server does not publish it.
project: Option<String>The gateway project (its slug) whose personal key the agent uses.
claude_code_model: Option<String>The model alias Claude Code asks the gateway for.
codex_model: Option<String>The model alias Codex asks the gateway for.
Implementations§
Trait Implementations§
Source§impl Debug for GatewayConfig
impl Debug for GatewayConfig
Source§impl Default for GatewayConfig
impl Default for GatewayConfig
Source§impl<'de> Deserialize<'de> for GatewayConfig
impl<'de> Deserialize<'de> for GatewayConfig
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
Auto Trait Implementations§
impl Forget for GatewayConfig
impl Freeze for GatewayConfig
impl Move for GatewayConfig
impl RefUnwindSafe for GatewayConfig
impl Send for GatewayConfig
impl Sync for GatewayConfig
impl Unpin for GatewayConfig
impl UnsafeUnpin for GatewayConfig
impl UnwindSafe for GatewayConfig
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