Struct k8s_openapi::v1_8::api::rbac::v1::ClusterRoleList
source · pub struct ClusterRoleList {
pub api_version: Option<String>,
pub items: Vec<ClusterRole>,
pub kind: Option<String>,
pub metadata: Option<ListMeta>,
}
Expand description
ClusterRoleList is a collection of ClusterRoles
Fields§
§api_version: Option<String>
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
items: Vec<ClusterRole>
Items is a list of ClusterRoles
kind: Option<String>
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
metadata: Option<ListMeta>
Standard object’s metadata.
Trait Implementations§
source§impl Clone for ClusterRoleList
impl Clone for ClusterRoleList
source§fn clone(&self) -> ClusterRoleList
fn clone(&self) -> ClusterRoleList
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 ClusterRoleList
impl Debug for ClusterRoleList
source§impl Default for ClusterRoleList
impl Default for ClusterRoleList
source§fn default() -> ClusterRoleList
fn default() -> ClusterRoleList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClusterRoleList
impl<'de> Deserialize<'de> for ClusterRoleList
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