Struct dynamodb_expression::path::IndexedField
source · pub struct IndexedField { /* private fields */ }
Expand description
Represents a type of Element
of a DynamoDB document Path
that is a
Name
with one or more indexes. For example, in foo[3][7].bar[2].baz
,
the elements foo[3][7]
and bar[2]
would both be represented as an
IndexedField
.
Created via Element::from
, Element::new_indexed_field
, and
Path::new_indexed_field
.
Trait Implementations§
source§impl Clone for IndexedField
impl Clone for IndexedField
source§fn clone(&self) -> IndexedField
fn clone(&self) -> IndexedField
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 IndexedField
impl Debug for IndexedField
source§impl Display for IndexedField
impl Display for IndexedField
source§impl From<IndexedField> for Element
impl From<IndexedField> for Element
source§fn from(value: IndexedField) -> Self
fn from(value: IndexedField) -> Self
Converts to this type from the input type.
source§impl Hash for IndexedField
impl Hash for IndexedField
source§impl Ord for IndexedField
impl Ord for IndexedField
source§fn cmp(&self, other: &IndexedField) -> Ordering
fn cmp(&self, other: &IndexedField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IndexedField
impl PartialEq for IndexedField
source§fn eq(&self, other: &IndexedField) -> bool
fn eq(&self, other: &IndexedField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IndexedField
impl PartialOrd for IndexedField
source§fn partial_cmp(&self, other: &IndexedField) -> Option<Ordering>
fn partial_cmp(&self, other: &IndexedField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for IndexedField
impl StructuralEq for IndexedField
impl StructuralPartialEq for IndexedField
Auto Trait Implementations§
impl RefUnwindSafe for IndexedField
impl Send for IndexedField
impl Sync for IndexedField
impl Unpin for IndexedField
impl UnwindSafe for IndexedField
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.