Struct k8s_openapi::api::core::v1::LimitRangeSpec
source · pub struct LimitRangeSpec {
pub limits: Vec<LimitRangeItem>,
}
Expand description
LimitRangeSpec defines a min/max usage limit for resources that match on kind.
Fields§
§limits: Vec<LimitRangeItem>
Limits is the list of LimitRangeItem objects that are enforced.
Trait Implementations§
source§impl Clone for LimitRangeSpec
impl Clone for LimitRangeSpec
source§fn clone(&self) -> LimitRangeSpec
fn clone(&self) -> LimitRangeSpec
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 LimitRangeSpec
impl Debug for LimitRangeSpec
source§impl DeepMerge for LimitRangeSpec
impl DeepMerge for LimitRangeSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for LimitRangeSpec
impl Default for LimitRangeSpec
source§fn default() -> LimitRangeSpec
fn default() -> LimitRangeSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LimitRangeSpec
impl<'de> Deserialize<'de> for LimitRangeSpec
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 LimitRangeSpec
impl PartialEq for LimitRangeSpec
source§fn eq(&self, other: &LimitRangeSpec) -> bool
fn eq(&self, other: &LimitRangeSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LimitRangeSpec
impl Serialize for LimitRangeSpec
impl StructuralPartialEq for LimitRangeSpec
Auto Trait Implementations§
impl Freeze for LimitRangeSpec
impl RefUnwindSafe for LimitRangeSpec
impl Send for LimitRangeSpec
impl Sync for LimitRangeSpec
impl Unpin for LimitRangeSpec
impl UnwindSafe for LimitRangeSpec
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