1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-04-18 10:30:53 +00:00
comunicapiv3/src/data/push_notification.rs

14 lines
279 B
Rust

//! # Push notification
//!
//! Notification pushed to registered devices
//!
//! @author Pierre Hubert
#[derive(Debug)]
pub struct PushNotification {
pub id: String,
pub title: String,
pub body: String,
pub image: Option<String>,
pub timeout: Option<u64>,
}