pub struct RenderedThread {
pub author: String,
pub at: u64,
pub body: BodyOutcome,
}Expand description
A thread comment ready to render: author + timestamp + body outcome.
Fields§
Author id.
at: u64Unix seconds recorded.
body: BodyOutcomeThe re-fetched body (or a deletion/error placeholder).
Trait Implementations§
Source§impl Clone for RenderedThread
impl Clone for RenderedThread
Source§impl Debug for RenderedThread
impl Debug for RenderedThread
impl Eq for RenderedThread
Source§impl PartialEq for RenderedThread
impl PartialEq for RenderedThread
impl StructuralPartialEq for RenderedThread
Auto Trait Implementations§
impl Freeze for RenderedThread
impl RefUnwindSafe for RenderedThread
impl Send for RenderedThread
impl Sync for RenderedThread
impl Unpin for RenderedThread
impl UnsafeUnpin for RenderedThread
impl UnwindSafe for RenderedThread
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.