Enum k8s_openapi_codegen_common::swagger20::Type [−][src]
pub enum Type {}Show 28 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, JsonSchemaPropsOrArray(&'static str), JsonSchemaPropsOrBool(&'static str), JsonSchemaPropsOrStringArray(&'static str), 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
Fields of Integer
format: IntegerFormat
Fields of Number
format: NumberFormat
Fields of String
format: Option<StringFormat>
Tuple Fields of CustomResourceSubresources
0: String
Tuple Fields of JsonSchemaPropsOrArray
0: &'static str
Tuple Fields of JsonSchemaPropsOrBool
0: &'static str
Tuple Fields of JsonSchemaPropsOrStringArray
0: &'static str
Tuple Fields of WatchEvent
0: RefPath
Fields of ListDef
metadata: Box<SchemaKind>
Fields of ListRef
items: Box<SchemaKind>
Tuple Fields of CreateOptional
0: BTreeMap<PropertyName, Schema>
Tuple Fields of DeleteOptional
0: BTreeMap<PropertyName, Schema>
Tuple Fields of ListOptional
0: BTreeMap<PropertyName, Schema>
Tuple Fields of PatchOptional
0: BTreeMap<PropertyName, Schema>
Tuple Fields of ReplaceOptional
0: BTreeMap<PropertyName, Schema>
Tuple Fields of WatchOptional
0: BTreeMap<PropertyName, Schema>
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more