pub struct SessionEndpointProviderOverride {
pub base_url: Option<String>,
pub http_headers: BTreeMap<String, String>,
pub env_http_headers: BTreeMap<String, String>,
pub proxy: Option<String>,
pub client_cert: Option<String>,
pub client_key: Option<String>,
pub ca_bundle: Option<String>,
pub auth: Option<SessionEndpointTransportAuthMode>,
}Expand description
One provider’s endpoint: the top level’s transport fields, under the
same wire names, without allowOpenai. Closed: an unknown field fails
the decode.
Fields§
§base_url: Option<String>Endpoint base URL. Configuration diagnostics never echo it.
http_headers: BTreeMap<String, String>Literal provider request headers.
env_http_headers: BTreeMap<String, String>Provider header name -> environment variable name.
proxy: Option<String>An explicit HTTP proxy URL. Diagnostics never echo it.
client_cert: Option<String>Path to the mTLS client certificate (PEM).
client_key: Option<String>Path to the mTLS client private key (PEM).
ca_bundle: Option<String>Optional CA bundle (PEM) to trust for the server side.
auth: Option<SessionEndpointTransportAuthMode>Auth mode. Absent = bearer.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionEndpointProviderOverride
impl<'de> Deserialize<'de> for SessionEndpointProviderOverride
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
impl Eq for SessionEndpointProviderOverride
impl StructuralPartialEq for SessionEndpointProviderOverride
Auto Trait Implementations§
impl Forget for SessionEndpointProviderOverride
impl Freeze for SessionEndpointProviderOverride
impl Move for SessionEndpointProviderOverride
impl RefUnwindSafe for SessionEndpointProviderOverride
impl Send for SessionEndpointProviderOverride
impl Sync for SessionEndpointProviderOverride
impl Unpin for SessionEndpointProviderOverride
impl UnsafeUnpin for SessionEndpointProviderOverride
impl UnwindSafe for SessionEndpointProviderOverride
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