Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::ServiceList
source · pub struct ServiceList {
pub api_version: Option<String>,
pub items: Vec<Service>,
pub kind: Option<String>,
pub metadata: Option<ListMeta>,
}
Expand description
ServiceList holds a list of services.
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<Service>
List of services
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§
source§impl Clone for ServiceList
impl Clone for ServiceList
source§fn clone(&self) -> ServiceList
fn clone(&self) -> ServiceList
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 ServiceList
impl Debug for ServiceList
source§impl Default for ServiceList
impl Default for ServiceList
source§fn default() -> ServiceList
fn default() -> ServiceList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceList
impl<'de> Deserialize<'de> for ServiceList
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