pub struct EntryComment<'a> {
pub created: String,
pub edited: Option<String>,
pub body: &'a str,
pub author: Option<&'static str>,
pub question: bool,
}Expand description
A comment on an entry.
Fields§
§created: StringRFC 3339.
edited: Option<String>RFC 3339, if edited after posting.
body: &'a strThe comment text (markdown).
agent for an agent’s; left out for a person’s.
question: boolWhether it’s a question to the user; only present when it is.
Trait Implementations§
Source§impl<'a> Debug for EntryComment<'a>
impl<'a> Debug for EntryComment<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntryComment<'a>
impl<'a> RefUnwindSafe for EntryComment<'a>
impl<'a> Send for EntryComment<'a>
impl<'a> Sync for EntryComment<'a>
impl<'a> Unpin for EntryComment<'a>
impl<'a> UnsafeUnpin for EntryComment<'a>
impl<'a> UnwindSafe for EntryComment<'a>
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