gitea_rs/models/commit_affected_files.rs
1/*
2 * Gitea API.
3 *
4 * This documentation describes the Gitea API.
5 *
6 * The version of the OpenAPI document: 1.19.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// CommitAffectedFiles : CommitAffectedFiles store information about files affected by the commit
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct CommitAffectedFiles {
17 #[serde(rename = "filename", skip_serializing_if = "Option::is_none")]
18 pub filename: Option<String>,
19}
20
21impl CommitAffectedFiles {
22 /// CommitAffectedFiles store information about files affected by the commit
23 pub fn new() -> CommitAffectedFiles {
24 CommitAffectedFiles {
25 filename: None,
26 }
27 }
28}
29
30