memos_api/models/
v1_html_element_node.rs

1/*
2 * Memos API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct V1HtmlElementNode {
16    #[serde(rename = "tagName", skip_serializing_if = "Option::is_none")]
17    pub tag_name: Option<String>,
18    #[serde(rename = "attributes", skip_serializing_if = "Option::is_none")]
19    pub attributes: Option<std::collections::HashMap<String, String>>,
20}
21
22impl V1HtmlElementNode {
23    pub fn new() -> V1HtmlElementNode {
24        V1HtmlElementNode {
25            tag_name: None,
26            attributes: None,
27        }
28    }
29}
30