pub struct EvictionSpec {
pub target: EvictionTarget,
}Expand description
EvictionSpec is a specification of an Eviction.
Fields§
§target: EvictionTargettarget contains a reference to an object (e.g. a pod) that should be evicted. This field is required and immutable.
Trait Implementations§
Source§impl Clone for EvictionSpec
impl Clone for EvictionSpec
Source§impl Debug for EvictionSpec
impl Debug for EvictionSpec
Source§impl DeepMerge for EvictionSpec
impl DeepMerge for EvictionSpec
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for EvictionSpec
impl Default for EvictionSpec
Source§impl<'de> Deserialize<'de> for EvictionSpec
impl<'de> Deserialize<'de> for EvictionSpec
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 EvictionSpec
impl PartialEq for EvictionSpec
Source§impl Serialize for EvictionSpec
impl Serialize for EvictionSpec
impl StructuralPartialEq for EvictionSpec
Auto Trait Implementations§
impl Freeze for EvictionSpec
impl RefUnwindSafe for EvictionSpec
impl Send for EvictionSpec
impl Sync for EvictionSpec
impl Unpin for EvictionSpec
impl UnsafeUnpin for EvictionSpec
impl UnwindSafe for EvictionSpec
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