Struct k8s_openapi::v1_9::api::core::v1::ResourceFieldSelector[][src]

pub struct ResourceFieldSelector {
    pub container_name: Option<String>,
    pub divisor: Option<Quantity>,
    pub resource: String,
}

ResourceFieldSelector represents container resources (cpu, memory) and their output format

Fields

Container name: required for volumes, optional for env vars

Specifies the output format of the exposed resources, defaults to "1"

Required: resource to select

Trait Implementations

impl Clone for ResourceFieldSelector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResourceFieldSelector
[src]

Formats the value using the given formatter. Read more

impl Default for ResourceFieldSelector
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ResourceFieldSelector
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for ResourceFieldSelector
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ResourceFieldSelector
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations