pub struct InternalEvent {
pub source: String,
pub event_type: String,
pub region: String,
pub account_id: String,
pub detail: Value,
}Expand description
An internal event emitted by a service to signal something happened.
Consumers (e.g. the background event router in awsim) subscribe to the
bus and perform cross-service fan-out (e.g. SNS → SQS delivery).
Fields§
§source: StringOriginating service: “s3”, “sns”, “eventbridge”, etc.
event_type: StringFine-grained event type: “s3:ObjectCreated:Put”, “sns:Publish”, etc.
region: StringAWS region the event occurred in.
account_id: StringAWS account ID the event occurred in.
detail: ValueEvent-specific payload (free-form JSON).
Trait Implementations§
Source§impl Clone for InternalEvent
impl Clone for InternalEvent
Source§fn clone(&self) -> InternalEvent
fn clone(&self) -> InternalEvent
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 InternalEvent
impl Debug for InternalEvent
Source§impl<'de> Deserialize<'de> for InternalEvent
impl<'de> Deserialize<'de> for InternalEvent
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 InternalEvent
impl RefUnwindSafe for InternalEvent
impl Send for InternalEvent
impl Sync for InternalEvent
impl Unpin for InternalEvent
impl UnsafeUnpin for InternalEvent
impl UnwindSafe for InternalEvent
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