pub struct ResultSet(/* private fields */);
Trait Implementations§
source§impl AsyncFetchable for ResultSet
impl AsyncFetchable for ResultSet
fn affected_rows(&self) -> i32
fn precision(&self) -> Precision
fn fields(&self) -> &[Field]
fn summary(&self) -> (usize, usize)
fn filed_names(&self) -> Vec<&str>
fn num_of_fields(&self) -> usize
fn blocks(&mut self) -> AsyncBlocks<'_, Self>
fn rows(&mut self) -> AsyncRows<'_, Self>
source§fn to_records<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<Value>>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn to_records<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<Value>>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Records is a row-based 2-dimension matrix of values.
fn deserialize<R>(&mut self) -> AsyncDeserialized<'_, Self, R>where
R: DeserializeOwned,
source§impl Fetchable for ResultSet
impl Fetchable for ResultSet
fn affected_rows(&self) -> i32
fn precision(&self) -> Precision
fn fields(&self) -> &[Field]
fn summary(&self) -> (usize, usize)
fn num_of_fields(&self) -> usize
source§fn blocks(&mut self) -> IBlockIter<'_, Self> ⓘ
fn blocks(&mut self) -> IBlockIter<'_, Self> ⓘ
Iterator for raw data blocks.
fn deserialize<T>(
&mut self
) -> Map<IRowsIter<'_, Self>, fn(_: Result<RowView<'_>, Error>) -> Result<T, Error>>where
T: DeserializeOwned,
fn to_rows_vec(&mut self) -> Result<Vec<Vec<Value>>, Error>
Auto Trait Implementations§
impl !Freeze for ResultSet
impl !RefUnwindSafe for ResultSet
impl Send for ResultSet
impl Sync for ResultSet
impl Unpin for ResultSet
impl !UnwindSafe for ResultSet
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