[][src]Struct openapi::v3_0::Extensions

pub struct Extensions(_);

Contains openapi specification extensions see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#specificationExtensions

Implementations

impl Extensions[src]

pub fn get(&self, ext_id: &str) -> Option<&Value>[src]

Fetch extension by name

pub fn all(&self) -> &HashMap<String, Value>[src]

A reference to all the captured extensions

Trait Implementations

impl Clone for Extensions[src]

impl Debug for Extensions[src]

impl Default for Extensions[src]

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

impl Eq for Extensions[src]

impl PartialEq<Extensions> for Extensions[src]

impl Serialize for Extensions[src]

impl StructuralEq for Extensions[src]

impl StructuralPartialEq for Extensions[src]

Auto Trait Implementations

impl RefUnwindSafe for Extensions

impl Send for Extensions

impl Sync for Extensions

impl Unpin for Extensions

impl UnwindSafe for Extensions

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.