pub struct LimitResetEvent {
pub at: DateTime<Utc>,
pub account_id: Option<String>,
pub plan_type: Option<String>,
pub limit_id: Option<String>,
pub window: String,
pub window_minutes: i64,
pub previous_used_percent: f64,
pub next_used_percent: f64,
pub previous_resets_at: DateTime<Utc>,
pub next_resets_at: DateTime<Utc>,
pub early_by_seconds: i64,
pub kind: String,
}Fields§
§at: DateTime<Utc>§account_id: Option<String>§plan_type: Option<String>§limit_id: Option<String>§window: String§window_minutes: i64§previous_used_percent: f64§next_used_percent: f64§previous_resets_at: DateTime<Utc>§next_resets_at: DateTime<Utc>§early_by_seconds: i64§kind: StringTrait Implementations§
Source§impl Clone for LimitResetEvent
impl Clone for LimitResetEvent
Source§fn clone(&self) -> LimitResetEvent
fn clone(&self) -> LimitResetEvent
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 LimitResetEvent
impl Debug for LimitResetEvent
Source§impl PartialEq for LimitResetEvent
impl PartialEq for LimitResetEvent
Source§fn eq(&self, other: &LimitResetEvent) -> bool
fn eq(&self, other: &LimitResetEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LimitResetEvent
impl Serialize for LimitResetEvent
impl StructuralPartialEq for LimitResetEvent
Auto Trait Implementations§
impl Freeze for LimitResetEvent
impl RefUnwindSafe for LimitResetEvent
impl Send for LimitResetEvent
impl Sync for LimitResetEvent
impl Unpin for LimitResetEvent
impl UnsafeUnpin for LimitResetEvent
impl UnwindSafe for LimitResetEvent
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