Struct dynamodb_expression::expression::Builder
source · pub struct Builder { /* private fields */ }
Implementations§
source§impl Builder
impl Builder
Functions and methods for building an Expression
.
sourcepub fn with_condition<T>(self, condition: T) -> Selfwhere
T: Into<Condition>,
pub fn with_condition<T>(self, condition: T) -> Selfwhere T: Into<Condition>,
Sets the condition for this Expression
, overwriting any previously set.
sourcepub fn with_key_condition<T>(self, key_condition: T) -> Selfwhere
T: Into<KeyCondition>,
pub fn with_key_condition<T>(self, key_condition: T) -> Selfwhere T: Into<KeyCondition>,
Sets the key condition for this Expression
, overwriting any previously set.
sourcepub fn with_update<T>(self, update: T) -> Selfwhere
T: Into<Update>,
pub fn with_update<T>(self, update: T) -> Selfwhere T: Into<Update>,
Sets the update expression, overwriting any previously set.
sourcepub fn with_filter<T>(self, filter: T) -> Selfwhere
T: Into<Condition>,
pub fn with_filter<T>(self, filter: T) -> Selfwhere T: Into<Condition>,
Sets the filter for this Expression
, overwriting any previously set.
sourcepub fn with_projection<I, T>(self, names: I) -> Selfwhere
I: IntoIterator<Item = T>,
T: Into<Name>,
pub fn with_projection<I, T>(self, names: I) -> Selfwhere I: IntoIterator<Item = T>, T: Into<Name>,
Sets the projection for this Expression
, overwriting any previously set.
sourcepub fn build(self) -> Expression
pub fn build(self) -> Expression
Builds the Expression
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.