@@ -13,6 +13,7 @@ use std::fmt;
1313mod attributes;
1414
1515#[ derive( Clone , Debug , Default , Deserialize , Eq , PartialEq , Serialize ) ]
16+ #[ non_exhaustive]
1617#[ serde( rename_all = "SCREAMING_SNAKE_CASE" ) ]
1718pub enum StreamViewType {
1819 NewImage ,
@@ -35,6 +36,7 @@ impl fmt::Display for StreamViewType {
3536}
3637
3738#[ derive( Clone , Debug , Default , Deserialize , Eq , PartialEq , Serialize ) ]
39+ #[ non_exhaustive]
3840#[ serde( rename_all = "SCREAMING_SNAKE_CASE" ) ]
3941pub enum StreamStatus {
4042 Enabling ,
@@ -57,6 +59,7 @@ impl fmt::Display for StreamStatus {
5759}
5860
5961#[ derive( Clone , Debug , Default , Deserialize , Eq , PartialEq , Serialize ) ]
62+ #[ non_exhaustive]
6063#[ serde( rename_all = "SCREAMING_SNAKE_CASE" ) ]
6164pub enum SharedIteratorType {
6265 TrimHorizon ,
@@ -79,6 +82,7 @@ impl fmt::Display for SharedIteratorType {
7982}
8083
8184#[ derive( Clone , Debug , Default , Deserialize , Eq , PartialEq , Serialize ) ]
85+ #[ non_exhaustive]
8286#[ serde( rename_all = "SCREAMING_SNAKE_CASE" ) ]
8387pub enum OperationType {
8488 #[ default]
@@ -99,6 +103,7 @@ impl fmt::Display for OperationType {
99103}
100104
101105#[ derive( Clone , Default , Debug , Deserialize , Eq , PartialEq , Serialize ) ]
106+ #[ non_exhaustive]
102107#[ serde( rename_all = "SCREAMING_SNAKE_CASE" ) ]
103108pub enum KeyType {
104109 #[ default]
0 commit comments