Struct aws_sdk_rdsdata::types::builders::ResultSetMetadataBuilder
source · #[non_exhaustive]pub struct ResultSetMetadataBuilder { /* private fields */ }Expand description
A builder for ResultSetMetadata.
Implementations§
source§impl ResultSetMetadataBuilder
impl ResultSetMetadataBuilder
sourcepub fn column_count(self, input: i64) -> Self
pub fn column_count(self, input: i64) -> Self
The number of columns in the result set.
sourcepub fn set_column_count(self, input: Option<i64>) -> Self
pub fn set_column_count(self, input: Option<i64>) -> Self
The number of columns in the result set.
sourcepub fn get_column_count(&self) -> &Option<i64>
pub fn get_column_count(&self) -> &Option<i64>
The number of columns in the result set.
sourcepub fn column_metadata(self, input: ColumnMetadata) -> Self
pub fn column_metadata(self, input: ColumnMetadata) -> Self
Appends an item to column_metadata.
To override the contents of this collection use set_column_metadata.
The metadata of the columns in the result set.
sourcepub fn set_column_metadata(self, input: Option<Vec<ColumnMetadata>>) -> Self
pub fn set_column_metadata(self, input: Option<Vec<ColumnMetadata>>) -> Self
The metadata of the columns in the result set.
sourcepub fn get_column_metadata(&self) -> &Option<Vec<ColumnMetadata>>
pub fn get_column_metadata(&self) -> &Option<Vec<ColumnMetadata>>
The metadata of the columns in the result set.
sourcepub fn build(self) -> ResultSetMetadata
pub fn build(self) -> ResultSetMetadata
Consumes the builder and constructs a ResultSetMetadata.
Trait Implementations§
source§impl Clone for ResultSetMetadataBuilder
impl Clone for ResultSetMetadataBuilder
source§fn clone(&self) -> ResultSetMetadataBuilder
fn clone(&self) -> ResultSetMetadataBuilder
Returns a copy 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 ResultSetMetadataBuilder
impl Debug for ResultSetMetadataBuilder
source§impl Default for ResultSetMetadataBuilder
impl Default for ResultSetMetadataBuilder
source§fn default() -> ResultSetMetadataBuilder
fn default() -> ResultSetMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResultSetMetadataBuilder
impl PartialEq for ResultSetMetadataBuilder
source§fn eq(&self, other: &ResultSetMetadataBuilder) -> bool
fn eq(&self, other: &ResultSetMetadataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResultSetMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ResultSetMetadataBuilder
impl Send for ResultSetMetadataBuilder
impl Sync for ResultSetMetadataBuilder
impl Unpin for ResultSetMetadataBuilder
impl UnwindSafe for ResultSetMetadataBuilder
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> 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>
Creates a shared type from an unshared type.