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

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: Option<String>

Container name: required for volumes, optional for env vars

divisor: Option<Quantity>

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

resource: String

Required: resource to select

Trait Implementations

impl Clone for ResourceFieldSelector[src]

impl Debug for ResourceFieldSelector[src]

impl Default for ResourceFieldSelector[src]

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

impl PartialEq<ResourceFieldSelector> for ResourceFieldSelector[src]

impl Serialize for ResourceFieldSelector[src]

impl StructuralPartialEq for ResourceFieldSelector[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.