Struct dynamodb_expression::operand::Size
source · pub struct Size { /* private fields */ }
Expand description
Returns a number representing an attribute’s size.
Implementations§
source§impl Size
impl Size
sourcepub fn equal<T>(self, right: T) -> Comparisonwhere
T: Into<Operand>,
pub fn equal<T>(self, right: T) -> Comparisonwhere T: Into<Operand>,
Check if the value of this operand is equal to the given value.
sourcepub fn not_equal<T>(self, right: T) -> Comparisonwhere
T: Into<Operand>,
pub fn not_equal<T>(self, right: T) -> Comparisonwhere T: Into<Operand>,
Check if the value of this operand is not equal to the given value.
sourcepub fn greater_than<T>(self, right: T) -> Comparisonwhere
T: Into<Operand>,
pub fn greater_than<T>(self, right: T) -> Comparisonwhere T: Into<Operand>,
Check if the value of this operand is greater than the given value.
sourcepub fn greater_than_or_equal<T>(self, right: T) -> Comparisonwhere
T: Into<Operand>,
pub fn greater_than_or_equal<T>(self, right: T) -> Comparisonwhere T: Into<Operand>,
Check if the value of this operand is greater than or equal to the given value.
sourcepub fn less_than<T>(self, right: T) -> Comparisonwhere
T: Into<Operand>,
pub fn less_than<T>(self, right: T) -> Comparisonwhere T: Into<Operand>,
Check if the value of this operand is less than the given value.
sourcepub fn less_than_or_equal<T>(self, right: T) -> Comparisonwhere
T: Into<Operand>,
pub fn less_than_or_equal<T>(self, right: T) -> Comparisonwhere T: Into<Operand>,
Check if the value of this operand is less than or equal to the given value.
pub fn between<L, U>(self, lower: L, upper: U) -> Betweenwhere L: Into<Operand>, U: Into<Operand>,
pub fn in_<I, T>(self, items: I) -> Inwhere I: IntoIterator<Item = T>, T: Into<Operand>,
Trait Implementations§
source§impl PartialEq for Size
impl PartialEq for Size
impl Eq for Size
impl StructuralEq for Size
impl StructuralPartialEq for Size
Auto Trait Implementations§
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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.