pub enum OpenapiVisitor {
Show 17 variants
Empty,
Unit {
name: Option<String>,
description: Option<String>,
},
Any,
Bool,
Int {
byte: Option<u32>,
minimum: Option<i64>,
},
Number {
byte: Option<u32>,
},
Char,
String,
Uuid,
Date,
DateTime,
Binary,
Option(Box<OpenapiVisitor>),
Enum {
name: Option<String>,
description: Option<String>,
variants: Vec<Option<String>>,
},
Array {
items: Box<OpenapiVisitor>,
len: Option<usize>,
unique_items: bool,
},
Object(Object),
Alternatives(Alternatives),
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.