#[non_exhaustive]pub struct ResultSetBuilder { /* private fields */ }Expand description
A builder for ResultSet.
Implementations§
Source§impl ResultSetBuilder
impl ResultSetBuilder
Sourcepub fn rows(self, input: Row) -> Self
pub fn rows(self, input: Row) -> Self
Appends an item to rows.
To override the contents of this collection use set_rows.
The rows in the table.
Sourcepub fn result_set_metadata(self, input: ResultSetMetadata) -> Self
pub fn result_set_metadata(self, input: ResultSetMetadata) -> Self
The metadata that describes the column structure and data types of a table of query results.
Sourcepub fn set_result_set_metadata(self, input: Option<ResultSetMetadata>) -> Self
pub fn set_result_set_metadata(self, input: Option<ResultSetMetadata>) -> Self
The metadata that describes the column structure and data types of a table of query results.
Sourcepub fn get_result_set_metadata(&self) -> &Option<ResultSetMetadata>
pub fn get_result_set_metadata(&self) -> &Option<ResultSetMetadata>
The metadata that describes the column structure and data types of a table of query results.
Trait Implementations§
Source§impl Clone for ResultSetBuilder
impl Clone for ResultSetBuilder
Source§fn clone(&self) -> ResultSetBuilder
fn clone(&self) -> ResultSetBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResultSetBuilder
impl Debug for ResultSetBuilder
Source§impl Default for ResultSetBuilder
impl Default for ResultSetBuilder
Source§fn default() -> ResultSetBuilder
fn default() -> ResultSetBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for ResultSetBuilder
impl PartialEq for ResultSetBuilder
impl StructuralPartialEq for ResultSetBuilder
Auto Trait Implementations§
impl Freeze for ResultSetBuilder
impl RefUnwindSafe for ResultSetBuilder
impl Send for ResultSetBuilder
impl Sync for ResultSetBuilder
impl Unpin for ResultSetBuilder
impl UnsafeUnpin for ResultSetBuilder
impl UnwindSafe for ResultSetBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.