[][src]Enum swagger::OneOf1

pub enum OneOf1<A> where
    A: PartialEq
{ A(A), }

$t

Variants

A(A)

$i type

Trait Implementations

impl<A: Clone> Clone for OneOf1<A> where
    A: PartialEq
[src]

impl<A: Debug> Debug for OneOf1<A> where
    A: PartialEq
[src]

impl<'b, A> Deserialize<'b> for OneOf1<A> where
    A: PartialEq + for<'a> Deserialize<'a>, 
[src]

impl<A> FromStr for OneOf1<A> where
    A: PartialEq + FromStr
[src]

type Err = &'static str

The associated error which can be returned from parsing.

impl<A: PartialEq> PartialEq<OneOf1<A>> for OneOf1<A> where
    A: PartialEq
[src]

impl<A> Serialize for OneOf1<A> where
    A: PartialEq + Serialize
[src]

impl<A> StructuralPartialEq for OneOf1<A> where
    A: PartialEq
[src]

impl<A> ToString for OneOf1<A> where
    A: PartialEq + ToString
[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for OneOf1<A> where
    A: RefUnwindSafe
[src]

impl<A> Send for OneOf1<A> where
    A: Send
[src]

impl<A> Sync for OneOf1<A> where
    A: Sync
[src]

impl<A> Unpin for OneOf1<A> where
    A: Unpin
[src]

impl<A> UnwindSafe for OneOf1<A> where
    A: UnwindSafe
[src]

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[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.