pub struct BalloonStatsUpdate {
pub stats_polling_interval_s: u32,
}
Expand description
Used to update the statistics polling interval of a balloon device. This allows for dynamic adjustment of how frequently memory statistics are collected without needing to recreate the balloon device.
Fields§
§stats_polling_interval_s: u32
Interval in seconds between refreshing statistics
Trait Implementations§
Source§impl Debug for BalloonStatsUpdate
impl Debug for BalloonStatsUpdate
Source§impl<'de> Deserialize<'de> for BalloonStatsUpdate
impl<'de> Deserialize<'de> for BalloonStatsUpdate
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 BalloonStatsUpdate
impl RefUnwindSafe for BalloonStatsUpdate
impl Send for BalloonStatsUpdate
impl Sync for BalloonStatsUpdate
impl Unpin for BalloonStatsUpdate
impl UnwindSafe for BalloonStatsUpdate
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