pub struct AurComment {
pub id: Option<String>,
pub author: String,
pub date: String,
pub date_timestamp: Option<i64>,
pub date_url: Option<String>,
pub content: String,
pub pinned: bool,
}Expand description
AUR comment from a package page.
Contains author, date, and content of a comment, with optional timestamp for reliable chronological sorting.
Fields§
§id: Option<String>Stable comment identifier parsed from DOM when available.
Comment author username.
date: StringHuman-readable date string.
date_timestamp: Option<i64>Unix timestamp for sorting (None if parsing failed).
date_url: Option<String>URL from the date link (None if not available).
content: StringComment content text (formatted as markdown-like syntax).
pinned: boolWhether this comment is pinned (shown at the top).
Trait Implementations§
Source§impl Clone for AurComment
impl Clone for AurComment
Source§fn clone(&self) -> AurComment
fn clone(&self) -> AurComment
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 AurComment
impl Debug for AurComment
Source§impl<'de> Deserialize<'de> for AurComment
impl<'de> Deserialize<'de> for AurComment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AurComment
impl RefUnwindSafe for AurComment
impl Send for AurComment
impl Sync for AurComment
impl Unpin for AurComment
impl UnwindSafe for AurComment
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