pub enum RoutedBy {
Fleet,
Router {
provider: String,
model: String,
},
SessionDefault,
}Expand description
Who chose the route for a step. Distinguishing these is the difference between “the user picked this model” and “a Router picked it”.
Variants§
Fleet
The exact Fleet member route, frozen at Fleet capture.
Router
A Router chose reasoning for the frozen member route. The Router’s own exact identity is recorded so its spend is attributable.
SessionDefault
The session’s current model selection.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RoutedBy
impl<'de> Deserialize<'de> for RoutedBy
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 RoutedBy
impl StructuralPartialEq for RoutedBy
Auto Trait Implementations§
impl Freeze for RoutedBy
impl RefUnwindSafe for RoutedBy
impl Send for RoutedBy
impl Sync for RoutedBy
impl Unpin for RoutedBy
impl UnsafeUnpin for RoutedBy
impl UnwindSafe for RoutedBy
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