pub struct ReflectPgMatviewsQuery<'c, 'a, 's, C: GenericClient, T, const N: usize> { /* private fields */ }Implementations§
Source§impl<'c, 'a, 's, C, T: 'c, const N: usize> ReflectPgMatviewsQuery<'c, 'a, 's, C, T, N>where
C: GenericClient,
impl<'c, 'a, 's, C, T: 'c, const N: usize> ReflectPgMatviewsQuery<'c, 'a, 's, C, T, N>where
C: GenericClient,
pub fn map<R>( self, mapper: fn(ReflectPgMatviewsBorrowed<'_>) -> R, ) -> ReflectPgMatviewsQuery<'c, 'a, 's, 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>> + 'c, Error>
Auto Trait Implementations§
impl<'c, 'a, 's, C, T, const N: usize> Freeze for ReflectPgMatviewsQuery<'c, 'a, 's, C, T, N>
impl<'c, 'a, 's, C, T, const N: usize> !RefUnwindSafe for ReflectPgMatviewsQuery<'c, 'a, 's, C, T, N>
impl<'c, 'a, 's, C, T, const N: usize> Send for ReflectPgMatviewsQuery<'c, 'a, 's, C, T, N>
impl<'c, 'a, 's, C, T, const N: usize> Sync for ReflectPgMatviewsQuery<'c, 'a, 's, C, T, N>
impl<'c, 'a, 's, C, T, const N: usize> Unpin for ReflectPgMatviewsQuery<'c, 'a, 's, C, T, N>
impl<'c, 'a, 's, C, T, const N: usize> UnsafeUnpin for ReflectPgMatviewsQuery<'c, 'a, 's, C, T, N>
impl<'c, 'a, 's, C, T, const N: usize> !UnwindSafe for ReflectPgMatviewsQuery<'c, 'a, 's, 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