Struct k8s_openapi_ext::corev1::ResourceQuotaStatus
source · [−]pub struct ResourceQuotaStatus {
pub hard: Option<BTreeMap<String, Quantity, Global>>,
pub used: Option<BTreeMap<String, Quantity, Global>>,
}
Expand description
ResourceQuotaStatus defines the enforced hard limits and observed use.
Fields
hard: Option<BTreeMap<String, Quantity, Global>>
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
used: Option<BTreeMap<String, Quantity, Global>>
Used is the current observed total usage of the resource in the namespace.
Trait Implementations
sourceimpl Clone for ResourceQuotaStatus
impl Clone for ResourceQuotaStatus
sourcefn clone(&self) -> ResourceQuotaStatus
fn clone(&self) -> ResourceQuotaStatus
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ResourceQuotaStatus
impl Debug for ResourceQuotaStatus
sourceimpl DeepMerge for ResourceQuotaStatus
impl DeepMerge for ResourceQuotaStatus
sourcefn merge_from(&mut self, other: ResourceQuotaStatus)
fn merge_from(&mut self, other: ResourceQuotaStatus)
Merge
other
into self
.sourceimpl Default for ResourceQuotaStatus
impl Default for ResourceQuotaStatus
sourcefn default() -> ResourceQuotaStatus
fn default() -> ResourceQuotaStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ResourceQuotaStatus
impl<'de> Deserialize<'de> for ResourceQuotaStatus
sourcefn deserialize<D>(
deserializer: D
) -> Result<ResourceQuotaStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ResourceQuotaStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ResourceQuotaStatus> for ResourceQuotaStatus
impl PartialEq<ResourceQuotaStatus> for ResourceQuotaStatus
sourcefn eq(&self, other: &ResourceQuotaStatus) -> bool
fn eq(&self, other: &ResourceQuotaStatus) -> bool
sourceimpl Serialize for ResourceQuotaStatus
impl Serialize for ResourceQuotaStatus
sourcefn 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 ResourceQuotaStatus
Auto Trait Implementations
impl RefUnwindSafe for ResourceQuotaStatus
impl Send for ResourceQuotaStatus
impl Sync for ResourceQuotaStatus
impl Unpin for ResourceQuotaStatus
impl UnwindSafe for ResourceQuotaStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more