nominal_api/conjure/objects/comments/api/
comment_parent_comment.rs1#[derive(
2 Debug,
3 Clone,
4 conjure_object::serde::Serialize,
5 conjure_object::serde::Deserialize,
6 PartialEq,
7 Eq,
8 PartialOrd,
9 Ord,
10 Hash
11)]
12#[serde(crate = "conjure_object::serde")]
13#[conjure_object::private::staged_builder::staged_builder]
14#[builder(crate = conjure_object::private::staged_builder, update, inline)]
15pub struct CommentParentComment {
16 #[serde(rename = "commentRid")]
17 comment_rid: super::CommentRid,
18}
19impl CommentParentComment {
20 #[inline]
22 pub fn new(comment_rid: super::CommentRid) -> Self {
23 Self::builder().comment_rid(comment_rid).build()
24 }
25 #[inline]
27 pub fn comment_rid(&self) -> &super::CommentRid {
28 &self.comment_rid
29 }
30}