Struct aws_sdk_dynamodb::types::ParameterizedStatement  
source · #[non_exhaustive]pub struct ParameterizedStatement {
    pub statement: String,
    pub parameters: Option<Vec<AttributeValue>>,
    pub return_values_on_condition_check_failure: Option<ReturnValuesOnConditionCheckFailure>,
}Expand description
Represents a PartiQL statement that uses parameters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.statement: StringA PartiQL statement that uses parameters.
parameters: Option<Vec<AttributeValue>>The parameter values.
return_values_on_condition_check_failure: Option<ReturnValuesOnConditionCheckFailure>An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
Implementations§
source§impl ParameterizedStatement
 
impl ParameterizedStatement
sourcepub fn parameters(&self) -> &[AttributeValue]
 
pub fn parameters(&self) -> &[AttributeValue]
The parameter values.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none().
sourcepub fn return_values_on_condition_check_failure(
    &self,
) -> Option<&ReturnValuesOnConditionCheckFailure>
 
pub fn return_values_on_condition_check_failure( &self, ) -> Option<&ReturnValuesOnConditionCheckFailure>
An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
source§impl ParameterizedStatement
 
impl ParameterizedStatement
sourcepub fn builder() -> ParameterizedStatementBuilder
 
pub fn builder() -> ParameterizedStatementBuilder
Creates a new builder-style object to manufacture ParameterizedStatement.
Trait Implementations§
source§impl Clone for ParameterizedStatement
 
impl Clone for ParameterizedStatement
source§fn clone(&self) -> ParameterizedStatement
 
fn clone(&self) -> ParameterizedStatement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ParameterizedStatement
 
impl Debug for ParameterizedStatement
source§impl PartialEq for ParameterizedStatement
 
impl PartialEq for ParameterizedStatement
impl StructuralPartialEq for ParameterizedStatement
Auto Trait Implementations§
impl Freeze for ParameterizedStatement
impl RefUnwindSafe for ParameterizedStatement
impl Send for ParameterizedStatement
impl Sync for ParameterizedStatement
impl Unpin for ParameterizedStatement
impl UnwindSafe for ParameterizedStatement
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more