pub struct RoleList {
pub api_version: Option<String>,
pub items: Vec<Role>,
pub kind: Option<String>,
pub metadata: Option<ListMeta>,
}
Expand description
RoleList is a collection of Roles
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<Role>
Items is a list of Roles
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<'de> Deserialize<'de> for RoleList
impl<'de> Deserialize<'de> for RoleList
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