Struct k8s_openapi::api::core::v1::ResourceStatus
source · pub struct ResourceStatus {
pub name: String,
pub resources: Option<Vec<ResourceHealth>>,
}
Fields§
§name: String
Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.
resources: Option<Vec<ResourceHealth>>
List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it’s definition.
Trait Implementations§
source§impl Clone for ResourceStatus
impl Clone for ResourceStatus
source§fn clone(&self) -> ResourceStatus
fn clone(&self) -> ResourceStatus
Returns a copy 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 ResourceStatus
impl Debug for ResourceStatus
source§impl DeepMerge for ResourceStatus
impl DeepMerge for ResourceStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceStatus
impl Default for ResourceStatus
source§fn default() -> ResourceStatus
fn default() -> ResourceStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceStatus
impl<'de> Deserialize<'de> for ResourceStatus
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 ResourceStatus
impl PartialEq for ResourceStatus
source§impl Serialize for ResourceStatus
impl Serialize for ResourceStatus
impl StructuralPartialEq for ResourceStatus
Auto Trait Implementations§
impl Freeze for ResourceStatus
impl RefUnwindSafe for ResourceStatus
impl Send for ResourceStatus
impl Sync for ResourceStatus
impl Unpin for ResourceStatus
impl UnwindSafe for ResourceStatus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)