pub struct KubernetesGetClusterUserResponse {
pub kubernetes_cluster_user: Option<KubernetesGetClusterUserResponseKubernetesClusterUser>,
}Expand description
KubernetesGetClusterUserResponse
JSON schema
{
"type": "object",
"properties": {
"kubernetes_cluster_user": {
"type": "object",
"properties": {
"groups": {
"description": "A list of in-cluster groups that the user belongs to.",
"examples": [
[
"k8saas:authenticated"
]
],
"type": "array",
"items": {
"type": "string"
}
},
"username": {
"description": "The username for the cluster admin user.",
"examples": [
"sammy@digitalocean.com"
],
"type": "string",
"format": "email"
}
}
}
}
}Fields§
§kubernetes_cluster_user: Option<KubernetesGetClusterUserResponseKubernetesClusterUser>Trait Implementations§
Source§impl Clone for KubernetesGetClusterUserResponse
impl Clone for KubernetesGetClusterUserResponse
Source§fn clone(&self) -> KubernetesGetClusterUserResponse
fn clone(&self) -> KubernetesGetClusterUserResponse
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 KubernetesGetClusterUserResponse
impl<'de> Deserialize<'de> for KubernetesGetClusterUserResponse
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<&KubernetesGetClusterUserResponse> for KubernetesGetClusterUserResponse
impl From<&KubernetesGetClusterUserResponse> for KubernetesGetClusterUserResponse
Source§fn from(value: &KubernetesGetClusterUserResponse) -> Self
fn from(value: &KubernetesGetClusterUserResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KubernetesGetClusterUserResponse
impl RefUnwindSafe for KubernetesGetClusterUserResponse
impl Send for KubernetesGetClusterUserResponse
impl Sync for KubernetesGetClusterUserResponse
impl Unpin for KubernetesGetClusterUserResponse
impl UnsafeUnpin for KubernetesGetClusterUserResponse
impl UnwindSafe for KubernetesGetClusterUserResponse
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