gitea_client/models/
file_links_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct FileLinksResponse {
17 #[serde(rename = "git", skip_serializing_if = "Option::is_none")]
18 pub git: Option<String>,
19 #[serde(rename = "html", skip_serializing_if = "Option::is_none")]
20 pub html: Option<String>,
21 #[serde(rename = "self", skip_serializing_if = "Option::is_none")]
22 pub param_self: Option<String>,
23}
24
25impl FileLinksResponse {
26 pub fn new() -> FileLinksResponse {
28 FileLinksResponse {
29 git: None,
30 html: None,
31 param_self: None,
32 }
33 }
34}
35