enbbox 1.0.1

Notification infrastructure API — open-source alternative to Novu/Courier
Documentation
/*
 * enbbox API
 *
 * Notification infrastructure API — open-source alternative to Novu/Courier
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// MarkResult : Result of a mark-as-read/seen operation.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MarkResult {
    #[serde(rename = "updated")]
    pub updated: i64,
}

impl MarkResult {
    /// Result of a mark-as-read/seen operation.
    pub fn new(updated: i64) -> MarkResult {
        MarkResult {
            updated,
        }
    }
}