pub enum Type {
Show 14 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>,
},
}
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>
Trait Implementations§
Source§impl Ord for Type
impl Ord for Type
Source§impl PartialOrd for Type
impl PartialOrd for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more