pub struct CurrentEstimate {
pub model: String,
pub provider: String,
pub input_tokens_estimated: u32,
pub output_tokens_estimated: u32,
pub cost_usd: f64,
pub estimation_confidence: EstimationConfidence,
}Fields§
§model: String§provider: String§input_tokens_estimated: u32§output_tokens_estimated: u32§cost_usd: f64§estimation_confidence: EstimationConfidenceTrait Implementations§
Source§impl Clone for CurrentEstimate
impl Clone for CurrentEstimate
Source§fn clone(&self) -> CurrentEstimate
fn clone(&self) -> CurrentEstimate
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 CurrentEstimate
impl Debug for CurrentEstimate
Auto Trait Implementations§
impl Freeze for CurrentEstimate
impl RefUnwindSafe for CurrentEstimate
impl Send for CurrentEstimate
impl Sync for CurrentEstimate
impl Unpin for CurrentEstimate
impl UnsafeUnpin for CurrentEstimate
impl UnwindSafe for CurrentEstimate
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