Struct aws_sdk_redshiftdata::types::SqlParameter
source · #[non_exhaustive]pub struct SqlParameter {
pub name: String,
pub value: String,
}
Expand description
A parameter used in a SQL statement.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the parameter.
value: String
The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide.
Implementations§
source§impl SqlParameter
impl SqlParameter
source§impl SqlParameter
impl SqlParameter
sourcepub fn builder() -> SqlParameterBuilder
pub fn builder() -> SqlParameterBuilder
Creates a new builder-style object to manufacture SqlParameter
.
Trait Implementations§
source§impl Clone for SqlParameter
impl Clone for SqlParameter
source§fn clone(&self) -> SqlParameter
fn clone(&self) -> SqlParameter
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 SqlParameter
impl Debug for SqlParameter
source§impl PartialEq for SqlParameter
impl PartialEq for SqlParameter
source§fn eq(&self, other: &SqlParameter) -> bool
fn eq(&self, other: &SqlParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SqlParameter
Auto Trait Implementations§
impl RefUnwindSafe for SqlParameter
impl Send for SqlParameter
impl Sync for SqlParameter
impl Unpin for SqlParameter
impl UnwindSafe for SqlParameter
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.