gitea_client/models/
repo_topic_options.rs

1/*
2 * Gitea API
3 *
4 * This documentation describes the Gitea API.
5 *
6 * The version of the OpenAPI document: 1.22.1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// RepoTopicOptions : RepoTopicOptions a collection of repo topic names
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct RepoTopicOptions {
17    /// list of topic names
18    #[serde(rename = "topics", skip_serializing_if = "Option::is_none")]
19    pub topics: Option<Vec<String>>,
20}
21
22impl RepoTopicOptions {
23    /// RepoTopicOptions a collection of repo topic names
24    pub fn new() -> RepoTopicOptions {
25        RepoTopicOptions {
26            topics: None,
27        }
28    }
29}
30