#[non_exhaustive]pub struct Budget {
pub remaining: Option<f64>,
pub resets_at: Option<Timestamp>,
pub seen_at: Timestamp,
}Expand description
What a provider last said was left of its budget.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.remaining: Option<f64>§resets_at: Option<Timestamp>§seen_at: TimestampWhen the provider said so.
Trait Implementations§
impl Copy for Budget
impl StructuralPartialEq for Budget
Auto Trait Implementations§
impl Forget for Budget
impl Freeze for Budget
impl Move for Budget
impl RefUnwindSafe for Budget
impl Send for Budget
impl Sync for Budget
impl Unpin for Budget
impl UnsafeUnpin for Budget
impl UnwindSafe for Budget
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