pub struct RateWindow {
pub max_events: u32,
pub window_ms: WireU64,
}Fields§
§max_events: u32§window_ms: WireU64Trait Implementations§
Source§impl Clone for RateWindow
impl Clone for RateWindow
Source§fn clone(&self) -> RateWindow
fn clone(&self) -> RateWindow
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 RateWindow
impl Debug for RateWindow
Source§impl<'de> Deserialize<'de> for RateWindow
impl<'de> Deserialize<'de> for RateWindow
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
impl Eq for RateWindow
Source§impl PartialEq for RateWindow
impl PartialEq for RateWindow
Source§impl Serialize for RateWindow
impl Serialize for RateWindow
impl StructuralPartialEq for RateWindow
Auto Trait Implementations§
impl Freeze for RateWindow
impl RefUnwindSafe for RateWindow
impl Send for RateWindow
impl Sync for RateWindow
impl Unpin for RateWindow
impl UnsafeUnpin for RateWindow
impl UnwindSafe for RateWindow
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