ippanel_sms/models/pattern.rs
1use serde::{Deserialize, Serialize};
2
3/// Represents a message pattern (template) in the IPPanel API.
4///
5/// Contains the pattern code, status, content, and sharing information.
6#[derive(Debug, Serialize, Deserialize, Clone)]
7pub struct Pattern {
8 pub code: String,
9 pub status: String,
10 pub message: String,
11 pub is_shared: String,
12}