Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1beta1::JSONSchemaProps [−][src]
pub struct JSONSchemaProps {}Show fields
pub ref_path: Option<String>, pub schema: Option<String>, pub additional_items: Option<JSONSchemaPropsOrBool>, pub additional_properties: Option<JSONSchemaPropsOrBool>, pub all_of: Option<Vec<JSONSchemaProps>>, pub any_of: Option<Vec<JSONSchemaProps>>, pub default: Option<JSON>, pub definitions: Option<BTreeMap<String, JSONSchemaProps>>, pub dependencies: Option<BTreeMap<String, JSONSchemaPropsOrStringArray>>, pub description: Option<String>, pub enum_: Option<Vec<JSON>>, pub example: Option<JSON>, pub exclusive_maximum: Option<bool>, pub exclusive_minimum: Option<bool>, pub external_docs: Option<ExternalDocumentation>, pub format: Option<String>, pub id: Option<String>, pub items: Option<JSONSchemaPropsOrArray>, pub max_items: Option<i64>, pub max_length: Option<i64>, pub max_properties: Option<i64>, pub maximum: Option<f64>, pub min_items: Option<i64>, pub min_length: Option<i64>, pub min_properties: Option<i64>, pub minimum: Option<f64>, pub multiple_of: Option<f64>, pub not: Option<Box<JSONSchemaProps>>, pub nullable: Option<bool>, pub one_of: Option<Vec<JSONSchemaProps>>, pub pattern: Option<String>, pub pattern_properties: Option<BTreeMap<String, JSONSchemaProps>>, pub properties: Option<BTreeMap<String, JSONSchemaProps>>, pub required: Option<Vec<String>>, pub title: Option<String>, pub type_: Option<String>, pub unique_items: Option<bool>,
Expand description
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>
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>
Trait Implementations
impl Clone for JSONSchemaProps
[src]
impl Clone for JSONSchemaProps
[src]fn clone(&self) -> JSONSchemaProps
[src]
fn clone(&self) -> JSONSchemaProps
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for JSONSchemaProps
[src]
impl Debug for JSONSchemaProps
[src]impl Default for JSONSchemaProps
[src]
impl Default for JSONSchemaProps
[src]fn default() -> JSONSchemaProps
[src]
fn default() -> JSONSchemaProps
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for JSONSchemaProps
[src]
impl<'de> Deserialize<'de> for JSONSchemaProps
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<JSONSchemaProps> for JSONSchemaProps
[src]
impl PartialEq<JSONSchemaProps> for JSONSchemaProps
[src]fn eq(&self, other: &JSONSchemaProps) -> bool
[src]
fn eq(&self, other: &JSONSchemaProps) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &JSONSchemaProps) -> bool
[src]
fn ne(&self, other: &JSONSchemaProps) -> bool
[src]This method tests for !=
.
impl Serialize for JSONSchemaProps
[src]
impl Serialize for JSONSchemaProps
[src]impl StructuralPartialEq for JSONSchemaProps
[src]
Auto Trait Implementations
impl RefUnwindSafe for JSONSchemaProps
impl Send for JSONSchemaProps
impl Sync for JSONSchemaProps
impl Unpin for JSONSchemaProps
impl UnwindSafe for JSONSchemaProps
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,