pub struct KubeNamespace {
pub name: String,
pub mem: Measured<u64>,
pub pods: Vec<KubePod>,
}Fields§
§name: StringEmpty when only cgroup paths are known (no names without the API or engine labels).
mem: Measured<u64>§pods: Vec<KubePod>Trait Implementations§
Source§impl Clone for KubeNamespace
impl Clone for KubeNamespace
Source§impl Debug for KubeNamespace
impl Debug for KubeNamespace
Source§impl Default for KubeNamespace
impl Default for KubeNamespace
Source§impl<'de> Deserialize<'de> for KubeNamespacewhere
KubeNamespace: Default,
impl<'de> Deserialize<'de> for KubeNamespacewhere
KubeNamespace: Default,
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
Source§impl PartialEq for KubeNamespace
impl PartialEq for KubeNamespace
Source§impl Serialize for KubeNamespace
impl Serialize for KubeNamespace
impl StructuralPartialEq for KubeNamespace
Auto Trait Implementations§
impl Forget for KubeNamespace
impl Freeze for KubeNamespace
impl Move for KubeNamespace
impl RefUnwindSafe for KubeNamespacewhere
String: RefUnwindSafe,
impl Send for KubeNamespace
impl Sync for KubeNamespace
impl Unpin for KubeNamespace
impl UnsafeUnpin for KubeNamespacewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
String: UnsafeUnpin,
PhantomData<KubePod>: UnsafeUnpin,
impl UnwindSafe for KubeNamespace
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