Enum dynamodb_expression::value::Set
source · pub enum Set {
StringSet(StringSet),
NumSet(NumSet),
BinarySet(BinarySet),
}
Expand description
A collection of DynamoDB values that are all the same type and unique.
Variants§
Implementations§
source§impl Set
impl Set
sourcepub fn new_string_set<T>(string_set: T) -> Self
pub fn new_string_set<T>(string_set: T) -> Self
A set of unique string values for DynamoDB
sourcepub fn new_num_set<T>(num_set: T) -> Self
pub fn new_num_set<T>(num_set: T) -> Self
A set of unique numeric values for DynamoDB
sourcepub fn new_binary_set<T>(binary_set: T) -> Self
pub fn new_binary_set<T>(binary_set: T) -> Self
A set of unique binary values for DynamoDB
Trait Implementations§
impl Eq for Set
impl StructuralEq for Set
impl StructuralPartialEq for Set
Auto Trait Implementations§
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnwindSafe for Set
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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.