pub struct Burn {
pub project: Option<String>,
pub tokens_per_hour: u64,
pub session_id: Option<String>,
pub session_ms: i64,
pub session_tokens: u64,
}Expand description
What the status line says.
Fields§
§project: Option<String>§tokens_per_hour: u64Tokens in the last hour — the rate is per hour, so this is the rate.
session_id: Option<String>§session_ms: i64§session_tokens: u64Implementations§
Trait Implementations§
impl Eq for Burn
impl StructuralPartialEq for Burn
Auto Trait Implementations§
impl Freeze for Burn
impl RefUnwindSafe for Burn
impl Send for Burn
impl Sync for Burn
impl Unpin for Burn
impl UnsafeUnpin for Burn
impl UnwindSafe for Burn
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§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.