ippanel-sms 0.1.0

A professional, asynchronous Rust client library for the IPPANEL SMS web service.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

/// Represents a generic API response from IPPanel.
///
/// Contains status code, API code, response data, and optional metadata.
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct Response<T> {
    pub status: u16,
    pub code: Option<String>,
    pub data: Option<T>,
    pub meta: Option<serde_json::Value>,
}