fusionauth_rust_client/models/
user_comment_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct UserCommentResponse {
17 #[serde(rename = "userComment", skip_serializing_if = "Option::is_none")]
18 pub user_comment: Option<Box<models::UserComment>>,
19 #[serde(rename = "userComments", skip_serializing_if = "Option::is_none")]
20 pub user_comments: Option<Vec<models::UserComment>>,
21}
22
23impl UserCommentResponse {
24 pub fn new() -> UserCommentResponse {
26 UserCommentResponse {
27 user_comment: None,
28 user_comments: None,
29 }
30 }
31}
32