[][src]Enum paperclip::v2::codegen::EmittedUnit

pub enum EmittedUnit {
    Known(String),
    Objects(Vec<ApiObject>),
    KnownButAnonymous(StringVec<ApiObject>),
    None,
}

Some "thing" emitted by the emitter.

Variants

Known(String)

Some Rust type.

Objects(Vec<ApiObject>)

Bunch of emitted Rust objects.

KnownButAnonymous(StringVec<ApiObject>)

We've identified the Rust type, but then we also have a bunch of generated Rust objects. This happens in the presence of anonymously defined schema.

None

Nothing to do.

Trait Implementations

impl Debug for EmittedUnit[src]

Auto Trait Implementations

impl RefUnwindSafe for EmittedUnit

impl Send for EmittedUnit

impl Sync for EmittedUnit

impl Unpin for EmittedUnit

impl UnwindSafe for EmittedUnit

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

impl<T, U> Into<U> for T where
    U: From<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, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,