pub struct SnsState {
pub account_id: String,
pub region: String,
pub endpoint: String,
pub topics: BTreeMap<String, SnsTopic>,
pub subscriptions: BTreeMap<String, SnsSubscription>,
pub published: Vec<PublishedMessage>,
pub platform_applications: BTreeMap<String, PlatformApplication>,
pub sms_attributes: HashMap<String, String>,
pub opted_out_numbers: Vec<String>,
pub sms_messages: Vec<(String, String)>,
pub lambda_invocations: Vec<LambdaInvocation>,
pub sent_emails: Vec<SentEmail>,
}Fields§
§account_id: String§region: String§endpoint: String§topics: BTreeMap<String, SnsTopic>§subscriptions: BTreeMap<String, SnsSubscription>§published: Vec<PublishedMessage>§platform_applications: BTreeMap<String, PlatformApplication>§sms_attributes: HashMap<String, String>§opted_out_numbers: Vec<String>§sms_messages: Vec<(String, String)>§lambda_invocations: Vec<LambdaInvocation>Recorded Lambda invocations (stub deliveries).
sent_emails: Vec<SentEmail>Recorded email deliveries (stub — not actually sent).
Implementations§
Auto Trait Implementations§
impl Freeze for SnsState
impl RefUnwindSafe for SnsState
impl Send for SnsState
impl Sync for SnsState
impl Unpin for SnsState
impl UnsafeUnpin for SnsState
impl UnwindSafe for SnsState
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