pub struct SwapUsage {
pub total_bytes: u64,
pub used_bytes: u64,
pub active: bool,
}Fields§
§total_bytes: u64§used_bytes: u64§active: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for SwapUsage
impl<'de> Deserialize<'de> for SwapUsage
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 SwapUsage
impl RefUnwindSafe for SwapUsage
impl Send for SwapUsage
impl Sync for SwapUsage
impl Unpin for SwapUsage
impl UnsafeUnpin for SwapUsage
impl UnwindSafe for SwapUsage
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