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>)Schemas(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 JSONSchemaPropsOrArrayimpl Send for JSONSchemaPropsOrArrayimpl Sync for JSONSchemaPropsOrArrayimpl Unpin for JSONSchemaPropsOrArrayimpl UnwindSafe for JSONSchemaPropsOrArrayBlanket Implementations
Mutably borrows from an owned value. Read more