Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::PodList [−][src]
pub struct PodList { pub api_version: Option<String>, pub items: Vec<Pod>, pub kind: Option<String>, pub metadata: Option<ListMeta>, }
PodList is a list of Pods.
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<Pod>
List of pods. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md
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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
Trait Implementations
impl Clone for PodList
[src]
impl Clone for PodList
fn clone(&self) -> PodList
[src]
fn clone(&self) -> PodList
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PodList
[src]
impl Debug for PodList
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for PodList
[src]
impl Default for PodList
impl PartialEq for PodList
[src]
impl PartialEq for PodList
fn eq(&self, other: &PodList) -> bool
[src]
fn eq(&self, other: &PodList) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PodList) -> bool
[src]
fn ne(&self, other: &PodList) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for PodList
[src]
impl<'de> Deserialize<'de> for PodList
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for PodList
[src]
impl Serialize for PodList