pub struct GatewayRoute {
pub model_pattern: String,
pub provider: String,
pub endpoint: String,
pub api_key_secret: String,
pub upstream_model: Option<String>,
pub extra_headers: HashMap<String, String>,
}Fields§
§model_pattern: String§provider: String§endpoint: String§api_key_secret: String§upstream_model: Option<String>§extra_headers: HashMap<String, String>Implementations§
Trait Implementations§
Source§impl Clone for GatewayRoute
impl Clone for GatewayRoute
Source§fn clone(&self) -> GatewayRoute
fn clone(&self) -> GatewayRoute
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 GatewayRoute
impl Debug for GatewayRoute
Source§impl<'de> Deserialize<'de> for GatewayRoute
impl<'de> Deserialize<'de> for GatewayRoute
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 Freeze for GatewayRoute
impl RefUnwindSafe for GatewayRoute
impl Send for GatewayRoute
impl Sync for GatewayRoute
impl Unpin for GatewayRoute
impl UnsafeUnpin for GatewayRoute
impl UnwindSafe for GatewayRoute
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