pub struct StreamRecord {
pub event_id: String,
pub event_name: String,
pub event_version: String,
pub event_source: String,
pub aws_region: String,
pub dynamodb: DynamoDbStreamRecord,
pub event_source_arn: String,
pub timestamp: DateTime<Utc>,
pub user_identity: Option<StreamUserIdentity>,
}Fields§
§event_id: String§event_name: String§event_version: String§event_source: String§aws_region: String§dynamodb: DynamoDbStreamRecord§event_source_arn: String§timestamp: DateTime<Utc>§user_identity: Option<StreamUserIdentity>Set only for system-generated changes. TTL deletions carry
{principalId: "dynamodb.amazonaws.com", type: "Service"} so consumers
can distinguish an expiry REMOVE from a user-driven DeleteItem. Absent
(and omitted from the wire) for ordinary writes.
Trait Implementations§
Source§impl Clone for StreamRecord
impl Clone for StreamRecord
Source§fn clone(&self) -> StreamRecord
fn clone(&self) -> StreamRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamRecord
impl Debug for StreamRecord
Source§impl<'de> Deserialize<'de> for StreamRecord
impl<'de> Deserialize<'de> for StreamRecord
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
Auto Trait Implementations§
impl Freeze for StreamRecord
impl RefUnwindSafe for StreamRecord
impl Send for StreamRecord
impl Sync for StreamRecord
impl Unpin for StreamRecord
impl UnsafeUnpin for StreamRecord
impl UnwindSafe for StreamRecord
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