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),
}

Variants§

§

Empty

§

Unit

Fields

§description: Option<String>
§

Any

§

Bool

§

Int

Fields

§byte: Option<u32>
§minimum: Option<i64>
§

Number

Fields

§byte: Option<u32>
§

Char

§

String

§

Uuid

§

Date

§

DateTime

§

Binary

§

Option(Box<OpenapiVisitor>)

§

Enum

Fields

§description: Option<String>
§variants: Vec<Option<String>>
§

Array

Fields

§unique_items: bool
§

Object(Object)

§

Alternatives(Alternatives)

Implementations§

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. 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.