pub enum Type {
Show 26 variants
Any,
Array {
items: Box<Schema>,
},
Boolean,
Integer {
format: IntegerFormat,
},
Number {
format: NumberFormat,
},
Object {
additional_properties: Box<Schema>,
},
String {
format: Option<StringFormat>,
},
CustomResourceSubresources(String),
IntOrString,
JsonSchemaPropsOr(&'static str, JsonSchemaPropsOr),
Patch,
WatchEvent(RefPath),
ListDef {
metadata: Box<SchemaKind>,
},
ListRef {
items: Box<SchemaKind>,
},
CreateOptional(BTreeMap<PropertyName, Schema>),
DeleteOptional(BTreeMap<PropertyName, Schema>),
ListOptional(BTreeMap<PropertyName, Schema>),
PatchOptional(BTreeMap<PropertyName, Schema>),
ReplaceOptional(BTreeMap<PropertyName, Schema>),
WatchOptional(BTreeMap<PropertyName, Schema>),
CreateResponse,
DeleteResponse,
ListResponse,
PatchResponse,
ReplaceResponse,
WatchResponse,
}
Expand description
A type definition.
Variants§
Any
Array
Boolean
Integer
Fields
§
format: IntegerFormat
Number
Fields
§
format: NumberFormat
Object
String
Fields
§
format: Option<StringFormat>
CustomResourceSubresources(String)
IntOrString
JsonSchemaPropsOr(&'static str, JsonSchemaPropsOr)
Patch
WatchEvent(RefPath)
ListDef
Fields
§
metadata: Box<SchemaKind>
ListRef
Fields
§
items: Box<SchemaKind>
CreateOptional(BTreeMap<PropertyName, Schema>)
DeleteOptional(BTreeMap<PropertyName, Schema>)
ListOptional(BTreeMap<PropertyName, Schema>)
PatchOptional(BTreeMap<PropertyName, Schema>)
ReplaceOptional(BTreeMap<PropertyName, Schema>)
WatchOptional(BTreeMap<PropertyName, Schema>)
CreateResponse
DeleteResponse
ListResponse
PatchResponse
ReplaceResponse
WatchResponse
Trait Implementations§
source§impl Ord for Type
impl Ord for Type
source§impl PartialEq<Type> for Type
impl PartialEq<Type> for Type
source§impl PartialOrd<Type> for Type
impl PartialOrd<Type> for Type
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more