pub struct LimitCurrentWindow {
pub id: String,
pub status: String,
pub account_id: Option<String>,
pub plan_type: Option<String>,
pub limit_id: Option<String>,
pub window: String,
pub window_minutes: i64,
pub last_seen: Option<DateTime<Utc>>,
pub used_percent: Option<f64>,
pub remaining_percent: Option<f64>,
pub resets_at: Option<DateTime<Utc>>,
pub reset_in_seconds: Option<i64>,
}Fields§
§id: String§status: String§account_id: Option<String>§plan_type: Option<String>§limit_id: Option<String>§window: String§window_minutes: i64§last_seen: Option<DateTime<Utc>>§used_percent: Option<f64>§remaining_percent: Option<f64>§resets_at: Option<DateTime<Utc>>§reset_in_seconds: Option<i64>Trait Implementations§
Source§impl Clone for LimitCurrentWindow
impl Clone for LimitCurrentWindow
Source§fn clone(&self) -> LimitCurrentWindow
fn clone(&self) -> LimitCurrentWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LimitCurrentWindow
impl Debug for LimitCurrentWindow
Source§impl PartialEq for LimitCurrentWindow
impl PartialEq for LimitCurrentWindow
Source§fn eq(&self, other: &LimitCurrentWindow) -> bool
fn eq(&self, other: &LimitCurrentWindow) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LimitCurrentWindow
impl Serialize for LimitCurrentWindow
impl StructuralPartialEq for LimitCurrentWindow
Auto Trait Implementations§
impl Freeze for LimitCurrentWindow
impl RefUnwindSafe for LimitCurrentWindow
impl Send for LimitCurrentWindow
impl Sync for LimitCurrentWindow
impl Unpin for LimitCurrentWindow
impl UnsafeUnpin for LimitCurrentWindow
impl UnwindSafe for LimitCurrentWindow
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