Struct aws_sdk_dynamodb::model::AttributeDefinition [−][src]
#[non_exhaustive]pub struct AttributeDefinition {
pub attribute_name: Option<String>,
pub attribute_type: Option<ScalarAttributeType>,
}
Expand description
Represents an attribute for describing the key schema for the table and indexes.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attribute_name: Option<String>
A name for the attribute.
attribute_type: Option<ScalarAttributeType>
The data type for the attribute, where:
-
S
- the attribute is of type String -
N
- the attribute is of type Number -
B
- the attribute is of type Binary
Implementations
Creates a new builder-style object to manufacture AttributeDefinition
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AttributeDefinition
impl Send for AttributeDefinition
impl Sync for AttributeDefinition
impl Unpin for AttributeDefinition
impl UnwindSafe for AttributeDefinition
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more