pub struct KubernetesUpdateClusterBodyRoutingAgent {
pub enabled: Option<bool>,
}Expand description
An object specifying whether the routing-agent component should be enabled for the Kubernetes cluster.
JSON schema
{
"description": "An object specifying whether the routing-agent component should be enabled for the Kubernetes cluster.",
"type": "object",
"properties": {
"enabled": {
"description": "Indicates whether the routing-agent component is enabled.",
"examples": [
true
],
"type": "boolean"
}
}
}Fields§
§enabled: Option<bool>Indicates whether the routing-agent component is enabled.
Trait Implementations§
Source§impl Clone for KubernetesUpdateClusterBodyRoutingAgent
impl Clone for KubernetesUpdateClusterBodyRoutingAgent
Source§fn clone(&self) -> KubernetesUpdateClusterBodyRoutingAgent
fn clone(&self) -> KubernetesUpdateClusterBodyRoutingAgent
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 KubernetesUpdateClusterBodyRoutingAgent
impl<'de> Deserialize<'de> for KubernetesUpdateClusterBodyRoutingAgent
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<&KubernetesUpdateClusterBodyRoutingAgent> for KubernetesUpdateClusterBodyRoutingAgent
impl From<&KubernetesUpdateClusterBodyRoutingAgent> for KubernetesUpdateClusterBodyRoutingAgent
Source§fn from(value: &KubernetesUpdateClusterBodyRoutingAgent) -> Self
fn from(value: &KubernetesUpdateClusterBodyRoutingAgent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KubernetesUpdateClusterBodyRoutingAgent
impl RefUnwindSafe for KubernetesUpdateClusterBodyRoutingAgent
impl Send for KubernetesUpdateClusterBodyRoutingAgent
impl Sync for KubernetesUpdateClusterBodyRoutingAgent
impl Unpin for KubernetesUpdateClusterBodyRoutingAgent
impl UnsafeUnpin for KubernetesUpdateClusterBodyRoutingAgent
impl UnwindSafe for KubernetesUpdateClusterBodyRoutingAgent
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