Enum k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::JSONSchemaPropsOrArray [−][src]
pub enum JSONSchemaPropsOrArray {
Schema(Box<JSONSchemaProps>),
Schemas(Vec<JSONSchemaProps>),
}
Expand description
JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.
Variants
Schema(Box<JSONSchemaProps>)
Tuple Fields of Schema
0: Box<JSONSchemaProps>
Schemas(Vec<JSONSchemaProps>)
Tuple Fields of Schemas
0: Vec<JSONSchemaProps>
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JSONSchemaPropsOrArray
impl Send for JSONSchemaPropsOrArray
impl Sync for JSONSchemaPropsOrArray
impl Unpin for JSONSchemaPropsOrArray
impl UnwindSafe for JSONSchemaPropsOrArray
Blanket Implementations
Mutably borrows from an owned value. Read more