nominal_api_conjure/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 conjure_object::log_safety::derive::LogSafe
12)]
13#[serde(crate = "conjure_object::serde")]
14#[conjure_object::private::staged_builder::staged_builder]
15#[builder(crate = conjure_object::private::staged_builder, update, inline)]
16pub struct CommentParentComment {
17 #[serde(rename = "commentRid")]
18 comment_rid: super::CommentRid,
19}
20impl CommentParentComment {
21 #[inline]
23 pub fn new(comment_rid: super::CommentRid) -> Self {
24 Self::builder().comment_rid(comment_rid).build()
25 }
26 #[inline]
28 pub fn comment_rid(&self) -> &super::CommentRid {
29 &self.comment_rid
30 }
31}