Trait mem_query::header::ProjectRefFrom [−][src]
pub trait ProjectRefFrom<'a, Other>: Header { type AsRef: Record<Cols = Self> + 'a; fn ref_from(rec: impl ExternalRecord<'a, Cols = Other>) -> Self::AsRef; }
Expand description
The reference version of ProjectFrom
Instead of consuming other
, it produces a list of column references
Associated Types
Required methods
fn ref_from(rec: impl ExternalRecord<'a, Cols = Other>) -> Self::AsRef
[src]
fn ref_from(rec: impl ExternalRecord<'a, Cols = Other>) -> Self::AsRef
[src]Implementations on Foreign Types
impl<'a, Other: Header> ProjectRefFrom<'a, Other> for HNil
[src]
impl<'a, Other: Header> ProjectRefFrom<'a, Other> for HNil
[src]impl<'a, Other: Header + HasCol<H>, H: Col, T: ProjectRefFrom<'a, Other>> ProjectRefFrom<'a, Other> for HCons<H, T> where
Self: Header,
[src]
impl<'a, Other: Header + HasCol<H>, H: Col, T: ProjectRefFrom<'a, Other>> ProjectRefFrom<'a, Other> for HCons<H, T> where
Self: Header,
[src]