[][src]Enum conjure_codegen::example_types::product::UnionTypeExample

pub enum UnionTypeExample {
    StringExample(StringExample),
    Set(BTreeSet<String>),
    ThisFieldIsAnInteger(i32),
    AlsoAnInteger(i32),
    If(i32),
    New(i32),
    Interface(i32),
    Unknown(Unknown),
}

Variants

StringExample(StringExample)

Docs for when UnionTypeExample is of type StringExample.

ThisFieldIsAnInteger(i32)
AlsoAnInteger(i32)
If(i32)
New(i32)
Interface(i32)
Unknown(Unknown)

An unknown variant.

Trait Implementations

impl Clone for UnionTypeExample[src]

impl Eq for UnionTypeExample[src]

impl Ord for UnionTypeExample[src]

impl PartialEq<UnionTypeExample> for UnionTypeExample[src]

impl PartialOrd<UnionTypeExample> for UnionTypeExample[src]

impl Debug for UnionTypeExample[src]

impl Hash for UnionTypeExample[src]

impl StructuralPartialEq for UnionTypeExample[src]

impl StructuralEq for UnionTypeExample[src]

impl Serialize for UnionTypeExample[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

impl<T> BorrowMut<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]