pub struct Comment {
pub id: u32,
pub author: String,
pub initials: Option<String>,
pub date: Option<String>,
pub paragraphs: Vec<Paragraph>,
pub unknown_children: Vec<RawXmlNode>,
}Expand description
A single comment
Fields§
§id: u32Comment ID
Author name
initials: Option<String>Author initials
date: Option<String>Date (ISO 8601)
paragraphs: Vec<Paragraph>Comment content paragraphs
unknown_children: Vec<RawXmlNode>Unknown children (preserved)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnsafeUnpin for Comment
impl UnwindSafe for Comment
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