traq/models/
put_channel_topic_request.rs

1/*
2 * traQ v3
3 *
4 * traQ v3 API
5 *
6 * The version of the OpenAPI document: 3.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// PutChannelTopicRequest : チャンネルトピック編集リクエスト
12
13#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
14pub struct PutChannelTopicRequest {
15    /// トピック
16    #[serde(rename = "topic")]
17    pub topic: String,
18}
19
20impl PutChannelTopicRequest {
21    /// チャンネルトピック編集リクエスト
22    pub fn new(topic: String) -> PutChannelTopicRequest {
23        PutChannelTopicRequest { topic }
24    }
25}