ic_query/sns/report/model/requests/
lookup.rs1#[derive(Clone, Debug, Eq, PartialEq)]
14pub struct SnsLookupRequest {
15 pub network: String,
16 pub source_endpoint: String,
17 pub now_unix_secs: u64,
18 pub input: String,
19}
20
21impl SnsLookupRequest {
22 #[must_use]
23 pub fn new(
24 network: impl Into<String>,
25 source_endpoint: impl Into<String>,
26 now_unix_secs: u64,
27 input: impl Into<String>,
28 ) -> Self {
29 Self {
30 network: network.into(),
31 source_endpoint: source_endpoint.into(),
32 now_unix_secs,
33 input: input.into(),
34 }
35 }
36}