pub struct EventDestinationDispatch {
pub destination_name: String,
pub destination_type: String,
pub event_type: String,
pub message_id: String,
pub dispatched_at: DateTime<Utc>,
pub target_arn: String,
}Expand description
One event-destination dispatch logged by the SES fanout. Captured
every time fanout::deliver_event actually hands an event off to
SNS/EventBridge/Kinesis/Firehose/CloudWatch so tests can assert the
downstream wiring without scraping the target service’s introspection
state.
Fields§
§destination_name: String§destination_type: StringOne of sns | eventbridge | kinesis | firehose | cloudwatch.
event_type: String§message_id: String§dispatched_at: DateTime<Utc>§target_arn: StringARN / target identifier of the downstream resource the event was sent to. Empty for CloudWatch (uses metric namespace, not ARN).
Trait Implementations§
Source§impl Clone for EventDestinationDispatch
impl Clone for EventDestinationDispatch
Source§fn clone(&self) -> EventDestinationDispatch
fn clone(&self) -> EventDestinationDispatch
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 EventDestinationDispatch
impl Debug for EventDestinationDispatch
Source§impl<'de> Deserialize<'de> for EventDestinationDispatch
impl<'de> Deserialize<'de> for EventDestinationDispatch
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 EventDestinationDispatch
impl RefUnwindSafe for EventDestinationDispatch
impl Send for EventDestinationDispatch
impl Sync for EventDestinationDispatch
impl Unpin for EventDestinationDispatch
impl UnsafeUnpin for EventDestinationDispatch
impl UnwindSafe for EventDestinationDispatch
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