#[non_exhaustive]pub struct GetPreparedStatementOutputBuilder { /* private fields */ }Expand description
A builder for GetPreparedStatementOutput.
Implementations§
Source§impl GetPreparedStatementOutputBuilder
impl GetPreparedStatementOutputBuilder
Sourcepub fn prepared_statement(self, input: PreparedStatement) -> Self
pub fn prepared_statement(self, input: PreparedStatement) -> Self
The name of the prepared statement that was retrieved.
Sourcepub fn set_prepared_statement(self, input: Option<PreparedStatement>) -> Self
pub fn set_prepared_statement(self, input: Option<PreparedStatement>) -> Self
The name of the prepared statement that was retrieved.
Sourcepub fn get_prepared_statement(&self) -> &Option<PreparedStatement>
pub fn get_prepared_statement(&self) -> &Option<PreparedStatement>
The name of the prepared statement that was retrieved.
Sourcepub fn build(self) -> GetPreparedStatementOutput
pub fn build(self) -> GetPreparedStatementOutput
Consumes the builder and constructs a GetPreparedStatementOutput.
Trait Implementations§
Source§impl Clone for GetPreparedStatementOutputBuilder
impl Clone for GetPreparedStatementOutputBuilder
Source§fn clone(&self) -> GetPreparedStatementOutputBuilder
fn clone(&self) -> GetPreparedStatementOutputBuilder
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 Default for GetPreparedStatementOutputBuilder
impl Default for GetPreparedStatementOutputBuilder
Source§fn default() -> GetPreparedStatementOutputBuilder
fn default() -> GetPreparedStatementOutputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetPreparedStatementOutputBuilder
impl PartialEq for GetPreparedStatementOutputBuilder
Source§fn eq(&self, other: &GetPreparedStatementOutputBuilder) -> bool
fn eq(&self, other: &GetPreparedStatementOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetPreparedStatementOutputBuilder
Auto Trait Implementations§
impl Freeze for GetPreparedStatementOutputBuilder
impl RefUnwindSafe for GetPreparedStatementOutputBuilder
impl Send for GetPreparedStatementOutputBuilder
impl Sync for GetPreparedStatementOutputBuilder
impl Unpin for GetPreparedStatementOutputBuilder
impl UnsafeUnpin for GetPreparedStatementOutputBuilder
impl UnwindSafe for GetPreparedStatementOutputBuilder
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.