[−][src]Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1beta1::JSONSchemaProps
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
Fields
ref_path: Option<String>
schema: Option<String>
additional_items: Option<JSONSchemaPropsOrBool>
additional_properties: Option<JSONSchemaPropsOrBool>
all_of: Option<Vec<JSONSchemaProps>>
any_of: Option<Vec<JSONSchemaProps>>
default: Option<JSON>
default is a default value for undefined object fields. Defaulting is an alpha feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.
definitions: Option<BTreeMap<String, JSONSchemaProps>>
dependencies: Option<BTreeMap<String, JSONSchemaPropsOrStringArray>>
description: Option<String>
enum_: Option<Vec<JSON>>
example: Option<JSON>
exclusive_maximum: Option<bool>
exclusive_minimum: Option<bool>
external_docs: Option<ExternalDocumentation>
format: Option<String>
id: Option<String>
items: Option<JSONSchemaPropsOrArray>
max_items: Option<i64>
max_length: Option<i64>
max_properties: Option<i64>
maximum: Option<f64>
min_items: Option<i64>
min_length: Option<i64>
min_properties: Option<i64>
minimum: Option<f64>
multiple_of: Option<f64>
not: Option<Box<JSONSchemaProps>>
nullable: Option<bool>
one_of: Option<Vec<JSONSchemaProps>>
pattern: Option<String>
pattern_properties: Option<BTreeMap<String, JSONSchemaProps>>
properties: Option<BTreeMap<String, JSONSchemaProps>>
required: Option<Vec<String>>
title: Option<String>
type_: Option<String>
unique_items: Option<bool>
x_kubernetes_embedded_resource: Option<bool>
x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
x_kubernetes_int_or_string: Option<bool>
x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
- anyOf:
- type: integer
- type: string
- allOf:
- anyOf:
- type: integer
- type: string
- ... zero or more
- anyOf:
x_kubernetes_preserve_unknown_fields: Option<bool>
x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
Trait Implementations
impl Default for JSONSchemaProps
[src]
fn default() -> JSONSchemaProps
[src]
impl Clone for JSONSchemaProps
[src]
fn clone(&self) -> JSONSchemaProps
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<JSONSchemaProps> for JSONSchemaProps
[src]
fn eq(&self, other: &JSONSchemaProps) -> bool
[src]
fn ne(&self, other: &JSONSchemaProps) -> bool
[src]
impl Debug for JSONSchemaProps
[src]
impl Serialize for JSONSchemaProps
[src]
impl<'de> Deserialize<'de> for JSONSchemaProps
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for JSONSchemaProps
impl Sync for JSONSchemaProps
impl Send for JSONSchemaProps
impl UnwindSafe for JSONSchemaProps
impl RefUnwindSafe for JSONSchemaProps
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,