pub struct ThreadedCommentInput {
pub author: String,
pub text: String,
pub parent_id: Option<String>,
}Expand description
Input configuration for adding a threaded comment.
Fields§
Display name of the comment author.
text: StringThe comment text.
parent_id: Option<String>Optional parent comment ID for replies.
Trait Implementations§
Source§impl Clone for ThreadedCommentInput
impl Clone for ThreadedCommentInput
Source§fn clone(&self) -> ThreadedCommentInput
fn clone(&self) -> ThreadedCommentInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThreadedCommentInput
impl Debug for ThreadedCommentInput
Source§impl PartialEq for ThreadedCommentInput
impl PartialEq for ThreadedCommentInput
impl StructuralPartialEq for ThreadedCommentInput
Auto Trait Implementations§
impl Freeze for ThreadedCommentInput
impl RefUnwindSafe for ThreadedCommentInput
impl Send for ThreadedCommentInput
impl Sync for ThreadedCommentInput
impl Unpin for ThreadedCommentInput
impl UnwindSafe for ThreadedCommentInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more