pub struct NodeSwapStatus {
pub capacity: Option<i64>,
}
Expand description
NodeSwapStatus represents swap memory information.
Fields§
§capacity: Option<i64>
Total amount of swap memory in bytes.
Trait Implementations§
Source§impl Clone for NodeSwapStatus
impl Clone for NodeSwapStatus
Source§fn clone(&self) -> NodeSwapStatus
fn clone(&self) -> NodeSwapStatus
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 NodeSwapStatus
impl Debug for NodeSwapStatus
Source§impl DeepMerge for NodeSwapStatus
impl DeepMerge for NodeSwapStatus
Source§fn merge_from(&mut self, other: NodeSwapStatus)
fn merge_from(&mut self, other: NodeSwapStatus)
Merge
other
into self
.Source§impl Default for NodeSwapStatus
impl Default for NodeSwapStatus
Source§fn default() -> NodeSwapStatus
fn default() -> NodeSwapStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeSwapStatus
impl<'de> Deserialize<'de> for NodeSwapStatus
Source§fn deserialize<D>(
deserializer: D,
) -> Result<NodeSwapStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<NodeSwapStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodeSwapStatus
impl PartialEq for NodeSwapStatus
Source§impl Serialize for NodeSwapStatus
impl Serialize for NodeSwapStatus
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NodeSwapStatus
Auto Trait Implementations§
impl Freeze for NodeSwapStatus
impl RefUnwindSafe for NodeSwapStatus
impl Send for NodeSwapStatus
impl Sync for NodeSwapStatus
impl Unpin for NodeSwapStatus
impl UnwindSafe for NodeSwapStatus
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