pub struct RouterSnapshot {
pub last_tier: Option<RouterTier>,
pub last_score: f64,
pub last_model: Option<String>,
pub last_provider: Option<String>,
pub accumulated_cost: f64,
pub turn_count: usize,
pub profile: Option<String>,
}Expand description
Snapshot of the current router state for UI display.
Fields§
§last_tier: Option<RouterTier>§last_score: f64§last_model: Option<String>§last_provider: Option<String>§accumulated_cost: f64§turn_count: usize§profile: Option<String>Trait Implementations§
Source§impl Clone for RouterSnapshot
impl Clone for RouterSnapshot
Source§fn clone(&self) -> RouterSnapshot
fn clone(&self) -> RouterSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RouterSnapshot
impl Debug for RouterSnapshot
Source§impl Default for RouterSnapshot
impl Default for RouterSnapshot
Source§fn default() -> RouterSnapshot
fn default() -> RouterSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RouterSnapshot
impl RefUnwindSafe for RouterSnapshot
impl Send for RouterSnapshot
impl Sync for RouterSnapshot
impl Unpin for RouterSnapshot
impl UnsafeUnpin for RouterSnapshot
impl UnwindSafe for RouterSnapshot
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