Struct k8s_openapi::v1_8::api::scheduling::v1alpha1::PriorityClassList
source · pub struct PriorityClassList {
pub api_version: Option<String>,
pub items: Vec<PriorityClass>,
pub kind: Option<String>,
pub metadata: Option<ListMeta>,
}
Expand description
PriorityClassList is a collection of priority classes.
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<PriorityClass>
items is the list of PriorityClasses
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 list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
Trait Implementations§
source§impl Clone for PriorityClassList
impl Clone for PriorityClassList
source§fn clone(&self) -> PriorityClassList
fn clone(&self) -> PriorityClassList
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 PriorityClassList
impl Debug for PriorityClassList
source§impl Default for PriorityClassList
impl Default for PriorityClassList
source§fn default() -> PriorityClassList
fn default() -> PriorityClassList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PriorityClassList
impl<'de> Deserialize<'de> for PriorityClassList
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