pub struct TurnRoute {
pub provider: String,
pub provider_identity: String,
pub model: String,
pub auto_model: bool,
pub receipt: Option<TurnRouteReceipt>,
pub billing: Option<RouteBillingEnvelope>,
pub base_url: String,
pub billing_product: RouteProduct,
}Expand description
Provider/model route resolved for a model-backed turn.
Fields§
§provider: StringProviderKind key (deepseek, openai, custom, …).
provider_identity: StringExact non-secret configured route key.
model: String§auto_model: bool§receipt: Option<TurnRouteReceipt>§billing: Option<RouteBillingEnvelope>§base_url: StringEndpoint the client was frozen against, verbatim. Empty when unknown.
billing_product: RouteProductTrait Implementations§
Source§impl<'de> Deserialize<'de> for TurnRoute
impl<'de> Deserialize<'de> for TurnRoute
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 TurnRoute
impl StructuralPartialEq for TurnRoute
Auto Trait Implementations§
impl Forget for TurnRoute
impl Freeze for TurnRoute
impl Move for TurnRoute
impl RefUnwindSafe for TurnRoute
impl Send for TurnRoute
impl Sync for TurnRoute
impl Unpin for TurnRoute
impl UnsafeUnpin for TurnRoute
impl UnwindSafe for TurnRoute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.