tencentcloud_sms/api/pull_sms_status/pull_sms_reply_status/
response.rs

1use crate::api::common::ApiError;
2use serde::Deserialize;
3
4#[derive(Debug, Deserialize)]
5#[serde(rename_all = "PascalCase")]
6pub struct PullSmsReplyStatusResponse {
7    pub response: ResponseBody,
8}
9
10#[derive(Debug, Deserialize)]
11#[serde(untagged)]
12pub enum ResponseBody {
13    Success(PullSmsReplyStatusSuccess),
14    Error(ApiError),
15}
16
17#[derive(Debug, Deserialize)]
18#[serde(rename_all = "PascalCase")]
19pub struct PullSmsReplyStatusSuccess {
20    pub pull_sms_reply_status_set: Vec<PullSmsReply>,
21    pub request_id: String,
22}
23
24#[derive(Debug, Clone, Deserialize)]
25#[serde(rename_all = "PascalCase")]
26pub struct PullSmsReply {
27    pub country_code: String,
28    pub reply_content: String,
29    pub subscriber_number: String,
30    pub extend_code: String,
31    pub reply_time: i64,
32    pub phone_number: String,
33    pub sign_name: String,
34}