Trait agnes::select::Field [−][src]
pub trait Field<DTypes> where
DTypes: DTypeList, { fn field<'a, T: 'a + DataType<DTypes>, I: Into<FieldIdent>>(
&'a self,
ident: I
) -> Result<Selection<DTypes, Self::Output, T>>
where
Self: SelectField<'a, T, DTypes>,
DTypes: 'a + AssocTypes,
DTypes::Storage: TypeSelector<DTypes, T>, { ... } }
Provided Methods
fn field<'a, T: 'a + DataType<DTypes>, I: Into<FieldIdent>>(
&'a self,
ident: I
) -> Result<Selection<DTypes, Self::Output, T>> where
Self: SelectField<'a, T, DTypes>,
DTypes: 'a + AssocTypes,
DTypes::Storage: TypeSelector<DTypes, T>,
&'a self,
ident: I
) -> Result<Selection<DTypes, Self::Output, T>> where
Self: SelectField<'a, T, DTypes>,
DTypes: 'a + AssocTypes,
DTypes::Storage: TypeSelector<DTypes, T>,
Returns a Selection struct containing the data for the field
specified by ident
.
This method is a convenience method for calling the select method on the SelectField trait.