[][src]Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1beta1::CustomResourceColumnDefinition

pub struct CustomResourceColumnDefinition {
    pub json_path: String,
    pub description: Option<String>,
    pub format: Option<String>,
    pub name: String,
    pub priority: Option<i32>,
    pub type_: String,
}

CustomResourceColumnDefinition specifies a column for server side printing.

Fields

json_path: String

JSONPath is a simple JSON path, i.e. with array notation.

description: Option<String>

description is a human readable description of this column.

format: Option<String>

format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.

name: String

name is a human readable name for the column.

priority: Option<i32>

priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.

type_: String

type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.

Trait Implementations

impl Clone for CustomResourceColumnDefinition[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<CustomResourceColumnDefinition> for CustomResourceColumnDefinition[src]

impl Default for CustomResourceColumnDefinition[src]

impl Debug for CustomResourceColumnDefinition[src]

impl Serialize for CustomResourceColumnDefinition[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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