pub struct NestedStyleRowQuery<'a, C: GenericClient, T, const N: usize> { /* private fields */ }Implementations§
Source§impl<'a, C, T: 'a, const N: usize> NestedStyleRowQuery<'a, C, T, N>where
C: GenericClient,
impl<'a, C, T: 'a, const N: usize> NestedStyleRowQuery<'a, C, T, N>where
C: GenericClient,
pub fn map<R>( self, mapper: fn(NestedStyleRowBorrowed<'_>) -> R, ) -> NestedStyleRowQuery<'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: StringSql, T2: ArraySql<Item = T1>, T3: ArraySql<Item = i32>, T4: ArraySql<Item = i32>> Params<'a, SelectCollectionStylesNestedParams<T1, T2, T3, T4>, NestedStyleRowQuery<'a, C, NestedStyleRow, 5>, C> for SelectCollectionStylesNestedStmt
impl<'a, C: GenericClient, T1: StringSql, T2: ArraySql<Item = T1>, T3: ArraySql<Item = i32>, T4: ArraySql<Item = i32>> Params<'a, SelectCollectionStylesNestedParams<T1, T2, T3, T4>, NestedStyleRowQuery<'a, C, NestedStyleRow, 5>, C> for SelectCollectionStylesNestedStmt
fn params( &'a mut self, client: &'a C, params: &'a SelectCollectionStylesNestedParams<T1, T2, T3, T4>, ) -> NestedStyleRowQuery<'a, C, NestedStyleRow, 5>
Auto Trait Implementations§
impl<'a, C, T, const N: usize> Freeze for NestedStyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> !RefUnwindSafe for NestedStyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> Send for NestedStyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> Sync for NestedStyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> Unpin for NestedStyleRowQuery<'a, C, T, N>
impl<'a, C, T, const N: usize> !UnwindSafe for NestedStyleRowQuery<'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