pub struct KubernetesUpdateNodePoolBodyTaintsItem {
pub effect: KubernetesUpdateNodePoolBodyTaintsItemEffect,
pub key: String,
pub value: Option<String>,
}Expand description
KubernetesUpdateNodePoolBodyTaintsItem
JSON schema
{
"type": "object",
"required": [
"effect",
"key"
],
"properties": {
"effect": {
"description": "The taint effect",
"examples": [
"NoSchedule"
],
"type": "string",
"enum": [
"NoSchedule",
"PreferNoSchedule",
"NoExecute"
]
},
"key": {
"description": "The taint key",
"examples": [
"node.kubernetes.io/example-key"
],
"type": "string"
},
"value": {
"description": "The taint value",
"examples": [
"example-value"
],
"type": "string"
}
}
}Fields§
§effect: KubernetesUpdateNodePoolBodyTaintsItemEffectThe taint effect
key: StringThe taint key
value: Option<String>The taint value
Trait Implementations§
Source§impl Clone for KubernetesUpdateNodePoolBodyTaintsItem
impl Clone for KubernetesUpdateNodePoolBodyTaintsItem
Source§fn clone(&self) -> KubernetesUpdateNodePoolBodyTaintsItem
fn clone(&self) -> KubernetesUpdateNodePoolBodyTaintsItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for KubernetesUpdateNodePoolBodyTaintsItem
impl<'de> Deserialize<'de> for KubernetesUpdateNodePoolBodyTaintsItem
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 From<&KubernetesUpdateNodePoolBodyTaintsItem> for KubernetesUpdateNodePoolBodyTaintsItem
impl From<&KubernetesUpdateNodePoolBodyTaintsItem> for KubernetesUpdateNodePoolBodyTaintsItem
Source§fn from(value: &KubernetesUpdateNodePoolBodyTaintsItem) -> Self
fn from(value: &KubernetesUpdateNodePoolBodyTaintsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KubernetesUpdateNodePoolBodyTaintsItem
impl RefUnwindSafe for KubernetesUpdateNodePoolBodyTaintsItem
impl Send for KubernetesUpdateNodePoolBodyTaintsItem
impl Sync for KubernetesUpdateNodePoolBodyTaintsItem
impl Unpin for KubernetesUpdateNodePoolBodyTaintsItem
impl UnsafeUnpin for KubernetesUpdateNodePoolBodyTaintsItem
impl UnwindSafe for KubernetesUpdateNodePoolBodyTaintsItem
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