gitea_rs/models/external_wiki.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/// ExternalWiki : ExternalWiki represents setting for external wiki
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct ExternalWiki {
17 /// URL of external wiki.
18 #[serde(rename = "external_wiki_url", skip_serializing_if = "Option::is_none")]
19 pub external_wiki_url: Option<String>,
20}
21
22impl ExternalWiki {
23 /// ExternalWiki represents setting for external wiki
24 pub fn new() -> ExternalWiki {
25 ExternalWiki {
26 external_wiki_url: None,
27 }
28 }
29}
30
31