pub struct PricePoint {
pub usd_per_million_tokens: f64,
}Fields§
§usd_per_million_tokens: f64USD per 1M tokens.
Implementations§
Source§impl PricePoint
impl PricePoint
Trait Implementations§
Source§impl Clone for PricePoint
impl Clone for PricePoint
Source§fn clone(&self) -> PricePoint
fn clone(&self) -> PricePoint
Returns a duplicate of the value. Read more
1.0.0 · 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 PricePoint
impl Debug for PricePoint
Source§impl PartialEq for PricePoint
impl PartialEq for PricePoint
impl Copy for PricePoint
impl StructuralPartialEq for PricePoint
Auto Trait Implementations§
impl Freeze for PricePoint
impl RefUnwindSafe for PricePoint
impl Send for PricePoint
impl Sync for PricePoint
impl Unpin for PricePoint
impl UnsafeUnpin for PricePoint
impl UnwindSafe for PricePoint
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