pub struct StreamSpecification {
pub stream_enabled: bool,
pub stream_view_type: Option<String>,
}
Expand description
Represents the DynamoDB Streams configuration for a table in DynamoDB.
Fields§
§stream_enabled: bool
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
stream_view_type: Option<String>
When an item in the table is modified, StreamViewType
determines what information is written to the stream for this table. Valid values for StreamViewType
are:
-
KEYSONLY
- Only the key attributes of the modified item are written to the stream. -
NEWIMAGE
- The entire item, as it appears after it was modified, is written to the stream. -
OLDIMAGE
- The entire item, as it appeared before it was modified, is written to the stream. -
NEWANDOLDIMAGES
- Both the new and the old item images of the item are written to the stream.
Trait Implementations§
Source§impl Clone for StreamSpecification
impl Clone for StreamSpecification
Source§fn clone(&self) -> StreamSpecification
fn clone(&self) -> StreamSpecification
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 StreamSpecification
impl Debug for StreamSpecification
Source§impl Default for StreamSpecification
impl Default for StreamSpecification
Source§fn default() -> StreamSpecification
fn default() -> StreamSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamSpecification
impl<'de> Deserialize<'de> for StreamSpecification
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 PartialEq for StreamSpecification
impl PartialEq for StreamSpecification
Source§impl Serialize for StreamSpecification
impl Serialize for StreamSpecification
impl StructuralPartialEq for StreamSpecification
Auto Trait Implementations§
impl Freeze for StreamSpecification
impl RefUnwindSafe for StreamSpecification
impl Send for StreamSpecification
impl Sync for StreamSpecification
impl Unpin for StreamSpecification
impl UnwindSafe for StreamSpecification
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