Struct k8s_openapi::api::core::v1::WeightedPodAffinityTerm [−][src]
pub struct WeightedPodAffinityTerm {
pub pod_affinity_term: PodAffinityTerm,
pub weight: i32,
}
Expand description
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
Fields
pod_affinity_term: PodAffinityTerm
Required. A pod affinity term, associated with the corresponding weight.
weight: i32
weight associated with matching the corresponding podAffinityTerm, 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 WeightedPodAffinityTerm
impl Send for WeightedPodAffinityTerm
impl Sync for WeightedPodAffinityTerm
impl Unpin for WeightedPodAffinityTerm
impl UnwindSafe for WeightedPodAffinityTerm
Blanket Implementations
Mutably borrows from an owned value. Read more