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 PeopleResponse {
    #[serde(rename = "enabled")]
    pub enabled: bool,
    #[serde(rename = "sidebarWeb")]
    pub sidebar_web: bool,
}

impl PeopleResponse {
    pub fn new(enabled: bool, sidebar_web: bool) -> PeopleResponse {
        PeopleResponse {
            enabled,
            sidebar_web,
        }
    }
}