pub struct WindowLimits {
pub five_hour: Option<Window>,
pub weekly: Option<Window>,
}Fields§
§five_hour: Option<Window>§weekly: Option<Window>Trait Implementations§
Source§impl Default for WindowLimits
impl Default for WindowLimits
Source§fn default() -> WindowLimits
fn default() -> WindowLimits
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WindowLimits
impl<'de> Deserialize<'de> for WindowLimits
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
Auto Trait Implementations§
impl Freeze for WindowLimits
impl RefUnwindSafe for WindowLimits
impl Send for WindowLimits
impl Sync for WindowLimits
impl Unpin for WindowLimits
impl UnsafeUnpin for WindowLimits
impl UnwindSafe for WindowLimits
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