pub struct DropRate {
pub drop_rate: i64,
}Expand description
drop-rate and set-drop-rate functions
Fields§
§drop_rate: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for DropRate
impl<'de> Deserialize<'de> for DropRate
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 StructuralPartialEq for DropRate
Auto Trait Implementations§
impl Freeze for DropRate
impl RefUnwindSafe for DropRate
impl Send for DropRate
impl Sync for DropRate
impl Unpin for DropRate
impl UnsafeUnpin for DropRate
impl UnwindSafe for DropRate
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