pub struct RoutingUpdate {
pub routing_enabled: Option<bool>,
pub prefer_cost_efficient: Option<bool>,
pub fallback_models: Option<Vec<String>>,
pub excluded_models: Option<Vec<String>>,
}Expand description
Request body for PUT /api/engine/routing.
Fields§
§routing_enabled: Option<bool>§prefer_cost_efficient: Option<bool>§fallback_models: Option<Vec<String>>§excluded_models: Option<Vec<String>>Trait Implementations§
Source§impl Debug for RoutingUpdate
impl Debug for RoutingUpdate
Source§impl<'de> Deserialize<'de> for RoutingUpdate
impl<'de> Deserialize<'de> for RoutingUpdate
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 RoutingUpdate
impl RefUnwindSafe for RoutingUpdate
impl Send for RoutingUpdate
impl Sync for RoutingUpdate
impl Unpin for RoutingUpdate
impl UnsafeUnpin for RoutingUpdate
impl UnwindSafe for RoutingUpdate
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