Enum k8s_openapi::IntOrString[][src]

pub enum IntOrString {
    Int(i32),
    String(String),
}

A value that may be a 32-bit integer or a string.

Variants

Trait Implementations

impl Clone for IntOrString
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IntOrString
[src]

Formats the value using the given formatter. Read more

impl Eq for IntOrString
[src]

impl PartialEq for IntOrString
[src]

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

This method tests for !=.

impl Default for IntOrString
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for IntOrString
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for IntOrString

impl Sync for IntOrString