Struct k8s_openapi::api::core::v1::PreferredSchedulingTerm [−][src]
pub struct PreferredSchedulingTerm {
pub preference: NodeSelectorTerm,
pub weight: i32,
}
Expand description
An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it’s a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
Fields
preference: NodeSelectorTerm
A node selector term, associated with the corresponding weight.
weight: i32
Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PreferredSchedulingTerm
impl Send for PreferredSchedulingTerm
impl Sync for PreferredSchedulingTerm
impl Unpin for PreferredSchedulingTerm
impl UnwindSafe for PreferredSchedulingTerm
Blanket Implementations
Mutably borrows from an owned value. Read more