Coverage Report

Created: 2024-02-20 21:15

/builds/xfbs/cindy/common/src/tag/info.rs
Line
Count
Source (jump to first uncovered line)
1
use serde::{Deserialize, Serialize};
2
3
84
#[derive(
Clone0
,
Debug0
,
P0
artialE
q0
, Eq,
P0
artialOr
d0
,
O0
r
d0
,
S12
erializ
e12
,
D48
eserialize)]
4
pub struct TagNameInfo {
5
    /// Count of possible values
6
    pub values: u64,
7
8
    /// Whether this is a system tag that should not be modified.
9
    pub system: bool,
10
11
    /// What to display this tag name as.
12
    pub display: String,
13
}
14
15
21
#[derive(
Clone0
,
Debug0
,
P11
artialE
q11
, Eq,
P0
artialOr
d0
,
O0
r
d0
,
S3
erializ
e3
,
D12
eserialize)]
16
pub struct TagValueInfo {
17
    /// Count of files tagged with this
18
    pub files: u64,
19
20
    /// Whether this is a system tag that should not be modified.
21
    pub system: bool,
22
23
    /// What to display this tag value as.
24
    pub display: String,
25
}