pub struct LimitWindow {
pub tool: ProviderId,
pub plan: Option<String>,
pub kind: LimitKind,
pub used_fraction: Option<f64>,
pub resets_at: Option<DateTime<Utc>>,
pub label: Option<String>,
}Fields§
§tool: ProviderId§plan: Option<String>§kind: LimitKind§used_fraction: Option<f64>§resets_at: Option<DateTime<Utc>>§label: Option<String>Trait 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<'de> Deserialize<'de> for LimitWindow
impl<'de> Deserialize<'de> for LimitWindow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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