Struct postmill::CommentInfo
source · pub struct CommentInfo {
pub body: String,
pub author: String,
pub date: DateTime<FixedOffset>,
pub id: u64,
pub submission_id: u64,
}
Fields
body: String
The HTML body of the comment after it’s parsed by markdown.
The username of the author of the comment.
date: DateTime<FixedOffset>
The date the comment is posted.
id: u64
The comment id.
submission_id: u64
The id of the submission the comment is placed in.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CommentInfo
impl Send for CommentInfo
impl Sync for CommentInfo
impl Unpin for CommentInfo
impl UnwindSafe for CommentInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more