mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-02-18 15:02:41 +00:00
16 lines
326 B
Rust
16 lines
326 B
Rust
//! # Number of unread notifications
|
|
//!
|
|
//! @author Pierre Hubert
|
|
|
|
use serde::Serialize;
|
|
|
|
#[derive(Serialize)]
|
|
pub struct ResNumberUnreadNotifications {
|
|
number: u64
|
|
}
|
|
|
|
impl ResNumberUnreadNotifications {
|
|
pub fn new(number: u64) -> ResNumberUnreadNotifications {
|
|
ResNumberUnreadNotifications { number }
|
|
}
|
|
} |