Trait diesel::query_dsl::methods::FindDsl[][src]

pub trait FindDsl<PK> {
    type Output;
    fn find(self, id: PK) -> Self::Output;
}

The find method

This trait should not be relied on directly by most apps. Its behavior is provided by QueryDsl. However, you may need a where clause on this trait to call find from generic code.

Associated Types

type Output[src]

The type returned by .find.

Loading content...

Required methods

fn find(self, id: PK) -> Self::Output[src]

See the trait documentation.

Loading content...

Implementors

impl<T, PK> FindDsl<PK> for T where
    T: Table + FilterDsl<<<T as Table>::PrimaryKey as EqAll<PK>>::Output>,
    T::PrimaryKey: EqAll<PK>, 
[src]

type Output = Filter<Self, <T::PrimaryKey as EqAll<PK>>::Output>

Loading content...