Struct google_container1::api::NodeTaint
source · pub struct NodeTaint {
pub effect: Option<String>,
pub key: Option<String>,
pub value: Option<String>,
}
Expand description
Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See here for more information, including usage and the valid values.
This type is not used in any activity, and only used as part of another schema.
Fields§
§effect: Option<String>
Effect for taint.
key: Option<String>
Key for taint.
value: Option<String>
Value for taint.
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodeTaint
impl<'de> Deserialize<'de> for NodeTaint
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
impl Part for NodeTaint
Auto Trait Implementations§
impl RefUnwindSafe for NodeTaint
impl Send for NodeTaint
impl Sync for NodeTaint
impl Unpin for NodeTaint
impl UnwindSafe for NodeTaint
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