pub struct TextWindowReservation {
pub ledger_key: String,
pub meter: String,
pub limit: String,
pub amount: String,
pub window_seconds: f64,
}Expand description
Sliding-window reservation retaining the original decimal representation.
Fields§
§ledger_key: String§meter: String§limit: String§amount: String§window_seconds: f64Trait Implementations§
Source§impl Clone for TextWindowReservation
impl Clone for TextWindowReservation
Auto Trait Implementations§
impl Freeze for TextWindowReservation
impl RefUnwindSafe for TextWindowReservation
impl Send for TextWindowReservation
impl Sync for TextWindowReservation
impl Unpin for TextWindowReservation
impl UnsafeUnpin for TextWindowReservation
impl UnwindSafe for TextWindowReservation
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