[][src]Enum openapi_rocketapi::OpenApi

pub enum OpenApi {
    V2(Spec),
    V3_0(Spec),
}

Supported versions of the OpenApi.

Variants

V2(Spec)

Version 2.0 of the OpenApi specification.

Refer to the official specification for more information.

V3_0(Spec)

Version 3.0.1 of the OpenApi specification.

Refer to the official specification for more information.

Trait Implementations

impl Clone for OpenApi[src]

impl PartialEq<OpenApi> for OpenApi[src]

impl Debug for OpenApi[src]

impl Serialize for OpenApi[src]

impl<'de> Deserialize<'de> for OpenApi[src]

Auto Trait Implementations

impl Unpin for OpenApi

impl Sync for OpenApi

impl Send for OpenApi

impl UnwindSafe for OpenApi

impl RefUnwindSafe for OpenApi

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]