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§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