immich_api_rs 1.137.3

Immich API
Documentation
/*
 * Immich
 *
 * Immich API
 *
 * The version of the OpenAPI document: 1.137.3
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NotificationUpdateDto {
    #[serde(rename = "readAt", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub read_at: Option<Option<String>>,
}

impl NotificationUpdateDto {
    pub fn new() -> NotificationUpdateDto {
        NotificationUpdateDto {
            read_at: None,
        }
    }
}