immich-lib 1.2.0

A Rust library for the Immich API focused on duplicate management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Duplicate group response types.

use serde::Deserialize;

use super::asset::AssetResponse;

/// A group of duplicate assets identified by Immich.
#[derive(Debug, Clone, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct DuplicateGroup {
    /// Unique identifier for this duplicate group
    pub duplicate_id: String,

    /// Assets in this duplicate group
    pub assets: Vec<AssetResponse>,
}