pub struct LimitWindow {Show 15 fields
pub id: String,
pub account_id: Option<String>,
pub plan_type: Option<String>,
pub limit_id: Option<String>,
pub window: String,
pub window_minutes: i64,
pub estimated_start: DateTime<Utc>,
pub reset_at: DateTime<Utc>,
pub first_seen: DateTime<Utc>,
pub last_seen: DateTime<Utc>,
pub min_used_percent: f64,
pub max_used_percent: f64,
pub last_used_percent: f64,
pub sample_count: i64,
pub reset_kind: String,
}Fields§
§id: String§account_id: Option<String>§plan_type: Option<String>§limit_id: Option<String>§window: String§window_minutes: i64§estimated_start: DateTime<Utc>§reset_at: DateTime<Utc>§first_seen: DateTime<Utc>§last_seen: DateTime<Utc>§min_used_percent: f64§max_used_percent: f64§last_used_percent: f64§sample_count: i64§reset_kind: StringTrait Implementations§
Source§impl Clone for LimitWindow
impl Clone for LimitWindow
Source§fn clone(&self) -> LimitWindow
fn clone(&self) -> LimitWindow
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 LimitWindow
impl Debug for LimitWindow
Source§impl PartialEq for LimitWindow
impl PartialEq for LimitWindow
Source§fn eq(&self, other: &LimitWindow) -> bool
fn eq(&self, other: &LimitWindow) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LimitWindow
impl Serialize for LimitWindow
impl StructuralPartialEq for LimitWindow
Auto Trait Implementations§
impl Freeze for LimitWindow
impl RefUnwindSafe for LimitWindow
impl Send for LimitWindow
impl Sync for LimitWindow
impl Unpin for LimitWindow
impl UnsafeUnpin for LimitWindow
impl UnwindSafe for LimitWindow
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