openapi_github/models/
webhook_discussion_comment_edited_changes_body.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct WebhookDiscussionCommentEditedChangesBody {
16 #[serde(rename = "from")]
17 pub from: String,
18}
19
20impl WebhookDiscussionCommentEditedChangesBody {
21 pub fn new(from: String) -> WebhookDiscussionCommentEditedChangesBody {
22 WebhookDiscussionCommentEditedChangesBody {
23 from,
24 }
25 }
26}
27