[−][src]Struct rusoto_dynamodbstreams::KeySchemaElement
Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.
A KeySchemaElement
represents exactly one attribute of the primary key. For example, a simple primary key (partition key) would be represented by one KeySchemaElement
. A composite primary key (partition key and sort key) would require one KeySchemaElement
for the partition key, and another KeySchemaElement
for the sort key.
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
Fields
attribute_name: String
The name of a key attribute.
key_type: String
The attribute data, consisting of the data type and the attribute value itself.
Trait Implementations
impl Clone for KeySchemaElement
[src]
fn clone(&self) -> KeySchemaElement
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for KeySchemaElement
[src]
fn default() -> KeySchemaElement
[src]
impl PartialEq<KeySchemaElement> for KeySchemaElement
[src]
fn eq(&self, other: &KeySchemaElement) -> bool
[src]
fn ne(&self, other: &KeySchemaElement) -> bool
[src]
impl Debug for KeySchemaElement
[src]
impl StructuralPartialEq for KeySchemaElement
[src]
impl<'de> Deserialize<'de> for KeySchemaElement
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for KeySchemaElement
impl Sync for KeySchemaElement
impl Unpin for KeySchemaElement
impl UnwindSafe for KeySchemaElement
impl RefUnwindSafe for KeySchemaElement
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self