[][src]Struct oration::models::comments::InsertedComment

pub struct InsertedComment {
    id: i32,
    parent: Option<i32>,
    author: Option<String>,
}

Subset of the comment which was just inserted. This data is needed to populate the frontend without calling for a complete refresh.

Fields

Primary key.

Parent comment.

Commentors details.

Methods

impl InsertedComment
[src]

Creates a new nested comment from a PrintedComment and a set of precalculated NestedComment children.

Trait Implementations

impl Debug for InsertedComment
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for InsertedComment

impl Sync for InsertedComment