Struct k8s_openapi::v1_8::api::extensions::v1beta1::NetworkPolicyList
source · pub struct NetworkPolicyList {
pub api_version: Option<String>,
pub items: Vec<NetworkPolicy>,
pub kind: Option<String>,
pub metadata: Option<ListMeta>,
}
Expand description
Network Policy List is a list of NetworkPolicy objects.
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<NetworkPolicy>
Items is a list of schema objects.
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#metadata
Trait Implementations§
source§impl Clone for NetworkPolicyList
impl Clone for NetworkPolicyList
source§fn clone(&self) -> NetworkPolicyList
fn clone(&self) -> NetworkPolicyList
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 NetworkPolicyList
impl Debug for NetworkPolicyList
source§impl Default for NetworkPolicyList
impl Default for NetworkPolicyList
source§fn default() -> NetworkPolicyList
fn default() -> NetworkPolicyList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NetworkPolicyList
impl<'de> Deserialize<'de> for NetworkPolicyList
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