pub enum ProjectionType {
All,
KeysOnly,
Include,
}Expand description
Projection type for secondary indexes.
Variants§
All
All attributes from the table are projected into the index.
KeysOnly
Only the index and primary keys are projected.
Include
Only specified non-key attributes are projected alongside keys.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectionType
impl Clone for ProjectionType
Source§fn clone(&self) -> ProjectionType
fn clone(&self) -> ProjectionType
Returns a duplicate 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 ProjectionType
impl Debug for ProjectionType
Source§impl Default for ProjectionType
impl Default for ProjectionType
Source§fn default() -> ProjectionType
fn default() -> ProjectionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectionType
impl<'de> Deserialize<'de> for ProjectionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProjectionType
impl Display for ProjectionType
Source§impl Hash for ProjectionType
impl Hash for ProjectionType
Source§impl PartialEq for ProjectionType
impl PartialEq for ProjectionType
Source§impl Serialize for ProjectionType
impl Serialize for ProjectionType
impl Eq for ProjectionType
impl StructuralPartialEq for ProjectionType
Auto Trait Implementations§
impl Freeze for ProjectionType
impl RefUnwindSafe for ProjectionType
impl Send for ProjectionType
impl Sync for ProjectionType
impl Unpin for ProjectionType
impl UnsafeUnpin for ProjectionType
impl UnwindSafe for ProjectionType
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