pub struct ThrottlingData {
pub periods: u64,
pub throttled_periods: u64,
pub throttled_time: u64,
}Fields§
§periods: u64§throttled_periods: u64§throttled_time: u64Trait Implementations§
Source§impl Clone for ThrottlingData
impl Clone for ThrottlingData
Source§fn clone(&self) -> ThrottlingData
fn clone(&self) -> ThrottlingData
Returns a duplicate of the value. Read more
1.0.0 · 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 ThrottlingData
impl Debug for ThrottlingData
Source§impl<'de> Deserialize<'de> for ThrottlingData
impl<'de> Deserialize<'de> for ThrottlingData
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 Ord for ThrottlingData
impl Ord for ThrottlingData
Source§fn cmp(&self, other: &ThrottlingData) -> Ordering
fn cmp(&self, other: &ThrottlingData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ThrottlingData
impl PartialEq for ThrottlingData
Source§impl PartialOrd for ThrottlingData
impl PartialOrd for ThrottlingData
Source§impl Serialize for ThrottlingData
impl Serialize for ThrottlingData
impl Eq for ThrottlingData
impl StructuralPartialEq for ThrottlingData
Auto Trait Implementations§
impl Freeze for ThrottlingData
impl RefUnwindSafe for ThrottlingData
impl Send for ThrottlingData
impl Sync for ThrottlingData
impl Unpin for ThrottlingData
impl UnwindSafe for ThrottlingData
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