[−][src]Struct oration::models::comments::InsertedComment
Subset of the comment which was just inserted. This data is needed to populate the frontend without calling for a complete refresh.
Fields
id: i32
Primary key.
parent: Option<i32>
Parent comment.
Commentors details.
Methods
impl InsertedComment
[src]
impl InsertedComment
fn new(comment: &PrintedComment) -> InsertedComment
[src]
fn new(comment: &PrintedComment) -> InsertedComment
Creates a new nested comment from a PrintedComment and a set of precalculated NestedComment children.
Trait Implementations
impl Debug for InsertedComment
[src]
impl Debug for InsertedComment
Auto Trait Implementations
impl Send for InsertedComment
impl Send for InsertedComment
impl Sync for InsertedComment
impl Sync for InsertedComment