pub struct SubBatchSettlement {
pub estimate: u64,
pub reported: u64,
pub indeterminate: u64,
}Expand description
What one sent sub-batch cost. estimate is what was passed to
EmbeddingTokenBudget::mark_sent; see the module table for the other two.
The remainder (estimate - reported - indeterminate) is released.
Fields§
§estimate: u64§reported: u64§indeterminate: u64Trait Implementations§
Source§impl Clone for SubBatchSettlement
impl Clone for SubBatchSettlement
impl Copy for SubBatchSettlement
Source§impl Debug for SubBatchSettlement
impl Debug for SubBatchSettlement
Source§impl Default for SubBatchSettlement
impl Default for SubBatchSettlement
impl Eq for SubBatchSettlement
Source§impl PartialEq for SubBatchSettlement
impl PartialEq for SubBatchSettlement
impl StructuralPartialEq for SubBatchSettlement
Auto Trait Implementations§
impl Freeze for SubBatchSettlement
impl RefUnwindSafe for SubBatchSettlement
impl Send for SubBatchSettlement
impl Sync for SubBatchSettlement
impl Unpin for SubBatchSettlement
impl UnsafeUnpin for SubBatchSettlement
impl UnwindSafe for SubBatchSettlement
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,
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.