Trait mem_query::record::FromRecord[][src]

pub trait FromRecord<SrcCols: Header>: Sized {
    type Remainder: Header;
    fn from_rec(rec: impl Record<Cols = SrcCols>) -> (Self, Self::Remainder);
}

Associated Types

Required methods

fn from_rec(rec: impl Record<Cols = SrcCols>) -> (Self, Self::Remainder)[src]

Implementors

impl<T: FromRecordImpl, SrcCols: Header> FromRecord<SrcCols> for T where
    T::Cols: ProjectFrom<SrcCols> + Record<Cols = T::Cols>, 
[src]

type Remainder = <T::Cols as ProjectFrom<SrcCols>>::Remainder

fn from_rec(rec: impl Record<Cols = SrcCols>) -> (Self, Self::Remainder)[src]