Struct google_container1::api::NodeTaint[][src]

pub struct NodeTaint {
    pub effect: Option<String>,
    pub key: Option<String>,
    pub value: Option<String>,
}

Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See here for more information, including usage and the valid values.

This type is not used in any activity, and only used as part of another schema.

Fields

effect: Option<String>

Effect for taint.

key: Option<String>

Key for taint.

value: Option<String>

Value for taint.

Trait Implementations

impl Clone for NodeTaint[src]

impl Debug for NodeTaint[src]

impl Default for NodeTaint[src]

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

impl Part for NodeTaint[src]

impl Serialize for NodeTaint[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> Instrument 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.