pub struct Remaining {
pub tokens: u64,
pub limit: u64,
}Expand description
What is left under a ceiling before the next model call.
Fields§
§tokens: u64§limit: u64Trait Implementations§
impl Copy for Remaining
impl Eq for Remaining
impl StructuralPartialEq for Remaining
Auto Trait Implementations§
impl Forget for Remaining
impl Freeze for Remaining
impl Move for Remaining
impl RefUnwindSafe for Remaining
impl Send for Remaining
impl Sync for Remaining
impl Unpin for Remaining
impl UnsafeUnpin for Remaining
impl UnwindSafe for Remaining
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