Skip to main content

AttributeType

Trait AttributeType 

Source
pub trait AttributeType: AttributeTypeSeal { }
Expand description

Sealed marker trait for DynamoDB attribute types.

Implemented only by StringAttribute, NumberAttribute, and BinaryAttribute. This trait is sealed and cannot be implemented outside of this crate. It is used as a bound on AttributeDefinition::Type to restrict attribute definitions to the three scalar DynamoDB types authorized for key schemas (S, N, B).

Implementors§