pub struct EvictionTarget {
pub pod: Option<EvictionPodReference>,
}Expand description
EvictionTarget contains a reference to an object that should be evicted.
Fields§
§pod: Option<EvictionPodReference>pod references a pod that is subject to eviction/termination. Pods that are part of a PodGroup (.spec.schedulingGroup is set) are not supported.
Trait Implementations§
Source§impl Clone for EvictionTarget
impl Clone for EvictionTarget
Source§impl Debug for EvictionTarget
impl Debug for EvictionTarget
Source§impl DeepMerge for EvictionTarget
impl DeepMerge for EvictionTarget
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for EvictionTarget
impl Default for EvictionTarget
Source§impl<'de> Deserialize<'de> for EvictionTarget
impl<'de> Deserialize<'de> for EvictionTarget
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 EvictionTarget
impl PartialEq for EvictionTarget
Source§impl Serialize for EvictionTarget
impl Serialize for EvictionTarget
impl StructuralPartialEq for EvictionTarget
Auto Trait Implementations§
impl Freeze for EvictionTarget
impl RefUnwindSafe for EvictionTarget
impl Send for EvictionTarget
impl Sync for EvictionTarget
impl Unpin for EvictionTarget
impl UnsafeUnpin for EvictionTarget
impl UnwindSafe for EvictionTarget
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