pub struct KubeNode {
pub name: String,
pub sandbox_id: Option<String>,
pub mem: Measured<u64>,
pub namespaces: Vec<KubeNamespace>,
}Fields§
§name: String§sandbox_id: Option<String>The node’s container (kind, k3d, minikube) or VM sandbox.
mem: Measured<u64>Node memory: its container’s/VM’s, else the kubelet’s node working set, else Σ pods.
namespaces: Vec<KubeNamespace>Trait Implementations§
Source§impl<'de> Deserialize<'de> for KubeNode
impl<'de> Deserialize<'de> for KubeNode
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 KubeNode
Auto Trait Implementations§
impl Forget for KubeNode
impl Freeze for KubeNodewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'static str: Freeze,
String: Freeze,
PhantomData<KubeNamespace>: Freeze,
impl Move for KubeNode
impl RefUnwindSafe for KubeNodewhere
String: RefUnwindSafe,
impl Send for KubeNode
impl Sync for KubeNode
impl Unpin for KubeNode
impl UnsafeUnpin for KubeNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
String: UnsafeUnpin,
PhantomData<KubeNamespace>: UnsafeUnpin,
impl UnwindSafe for KubeNode
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