[][src]Enum devise::FieldParent

pub enum FieldParent<'p> {
    Variant(Derived<'p, Variant>),
    Struct(Derived<'p, DataStruct>),
    Union(Derived<'p, DataUnion>),
}

Variants

Variant(Derived<'p, Variant>)
Struct(Derived<'p, DataStruct>)
Union(Derived<'p, DataUnion>)

Methods

impl<'p> FieldParent<'p>[src]

pub fn input(self) -> &'p DeriveInput[src]

pub fn fields(self) -> Fields<'p>[src]

pub fn attrs(self) -> &'p [Attribute][src]

Trait Implementations

impl<'p> Clone for FieldParent<'p>[src]

impl<'p> Copy for FieldParent<'p>[src]

impl<'p> Debug for FieldParent<'p>[src]

Auto Trait Implementations

impl<'p> !RefUnwindSafe for FieldParent<'p>

impl<'p> !Send for FieldParent<'p>

impl<'p> !Sync for FieldParent<'p>

impl<'p> Unpin for FieldParent<'p>

impl<'p> !UnwindSafe for FieldParent<'p>

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> 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.