/* * Gitea API * * This documentation describes the Gitea API. * * The version of the OpenAPI document: 1.22.1 * * Generated by: https://openapi-generator.tech */ use crate::models; use serde::{Deserialize, Serialize}; /// WikiPage : WikiPage a wiki page #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct WikiPage { #[serde(rename = "commit_count", skip_serializing_if = "Option::is_none")] pub commit_count: Option, /// Page content, base64 encoded #[serde(rename = "content_base64", skip_serializing_if = "Option::is_none")] pub content_base64: Option, #[serde(rename = "footer", skip_serializing_if = "Option::is_none")] pub footer: Option, #[serde(rename = "html_url", skip_serializing_if = "Option::is_none")] pub html_url: Option, #[serde(rename = "last_commit", skip_serializing_if = "Option::is_none")] pub last_commit: Option>, #[serde(rename = "sidebar", skip_serializing_if = "Option::is_none")] pub sidebar: Option, #[serde(rename = "sub_url", skip_serializing_if = "Option::is_none")] pub sub_url: Option, #[serde(rename = "title", skip_serializing_if = "Option::is_none")] pub title: Option, } impl WikiPage { /// WikiPage a wiki page pub fn new() -> WikiPage { WikiPage { commit_count: None, content_base64: None, footer: None, html_url: None, last_commit: None, sidebar: None, sub_url: None, title: None, } } }