pub struct RateLimitWindow {
pub resets_at: Option<i64>,
pub used_percent: i64,
pub window_duration_mins: Option<i64>,
}Fields§
§resets_at: Option<i64>§used_percent: i64§window_duration_mins: Option<i64>Trait Implementations§
Source§impl Clone for RateLimitWindow
impl Clone for RateLimitWindow
Source§impl Debug for RateLimitWindow
impl Debug for RateLimitWindow
Source§impl Default for RateLimitWindow
impl Default for RateLimitWindow
Source§impl<'de> Deserialize<'de> for RateLimitWindow
impl<'de> Deserialize<'de> for RateLimitWindow
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 RateLimitWindow
impl PartialEq for RateLimitWindow
Source§impl Serialize for RateLimitWindow
impl Serialize for RateLimitWindow
impl StructuralPartialEq for RateLimitWindow
Auto Trait Implementations§
impl Forget for RateLimitWindow
impl Freeze for RateLimitWindow
impl RefUnwindSafe for RateLimitWindow
impl Send for RateLimitWindow
impl Sync for RateLimitWindow
impl Unpin for RateLimitWindow
impl UnsafeUnpin for RateLimitWindow
impl UnwindSafe for RateLimitWindow
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