pub struct StyleRowQuery<'a, C: GenericClient, T, const N: usize> { /* private fields */ }Implementations§
Source§impl<'a, C, T: 'a, const N: usize> StyleRowQuery<'a, C, T, N>where
C: GenericClient,
impl<'a, C, T: 'a, const N: usize> StyleRowQuery<'a, C, T, N>where
C: GenericClient,
pub fn map<R>( self, mapper: fn(StyleRowBorrowed<'_>) -> R, ) -> StyleRowQuery<'a, C, R, N>
pub async fn one(self) -> Result<T, Error>
pub async fn all(self) -> Result<Vec<T>, Error>
pub async fn opt(self) -> Result<Option<T>, Error>
pub async fn iter( self, ) -> Result<impl Stream<Item = Result<T, Error>> + 'a, Error>
Trait Implementations§
Source§impl<'a, C: GenericClient, T1: ArraySql<Item = i32>> Params<'a, SelectStylesParams<T1>, StyleRowQuery<'a, C, StyleRow, 2>, C> for SelectStylesStmt
impl<'a, C: GenericClient, T1: ArraySql<Item = i32>> Params<'a, SelectStylesParams<T1>, StyleRowQuery<'a, C, StyleRow, 2>, C> for SelectStylesStmt
fn params( &'a mut self, client: &'a C, params: &'a SelectStylesParams<T1>, ) -> StyleRowQuery<'a, C, StyleRow, 2>
Auto Trait Implementations§
impl<'a, C, T, const N: usize> Freeze for StyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> !RefUnwindSafe for StyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> Send for StyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> Sync for StyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> Unpin for StyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> !UnwindSafe for StyleRowQuery<'a, C, T, N>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more