Struct k8s_openapi::api::core::v1::PodSchedulingGate
source · pub struct PodSchedulingGate {
pub name: String,
}
Expand description
PodSchedulingGate is associated to a Pod to guard its scheduling.
Fields§
§name: String
Name of the scheduling gate. Each scheduling gate must have a unique name field.
Trait Implementations§
source§impl Clone for PodSchedulingGate
impl Clone for PodSchedulingGate
source§fn clone(&self) -> PodSchedulingGate
fn clone(&self) -> PodSchedulingGate
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 PodSchedulingGate
impl Debug for PodSchedulingGate
source§impl DeepMerge for PodSchedulingGate
impl DeepMerge for PodSchedulingGate
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for PodSchedulingGate
impl Default for PodSchedulingGate
source§fn default() -> PodSchedulingGate
fn default() -> PodSchedulingGate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PodSchedulingGate
impl<'de> Deserialize<'de> for PodSchedulingGate
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 PodSchedulingGate
impl PartialEq for PodSchedulingGate
source§fn eq(&self, other: &PodSchedulingGate) -> bool
fn eq(&self, other: &PodSchedulingGate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PodSchedulingGate
impl Serialize for PodSchedulingGate
impl StructuralPartialEq for PodSchedulingGate
Auto Trait Implementations§
impl Freeze for PodSchedulingGate
impl RefUnwindSafe for PodSchedulingGate
impl Send for PodSchedulingGate
impl Sync for PodSchedulingGate
impl Unpin for PodSchedulingGate
impl UnwindSafe for PodSchedulingGate
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