pub struct ForumPost {
pub created_at: OffsetDateTime,
pub deleted_at: Option<OffsetDateTime>,
pub edited_at: Option<OffsetDateTime>,
pub edited_by_id: Option<u32>,
pub forum_id: u32,
pub html: String,
pub post_id: u64,
pub raw: String,
pub topic_id: u64,
pub user_id: u32,
}
Fields§
§created_at: OffsetDateTime
§deleted_at: Option<OffsetDateTime>
§edited_at: Option<OffsetDateTime>
§edited_by_id: Option<u32>
§forum_id: u32
§html: String
Post content in HTML format
post_id: u64
§raw: String
Post content in BBCode format
topic_id: u64
§user_id: u32
Trait Implementations§
source§impl<'de> Deserialize<'de> for ForumPost
impl<'de> Deserialize<'de> for ForumPost
source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ForumPost> for ForumPost
impl PartialEq<ForumPost> for ForumPost
impl Eq for ForumPost
Auto Trait Implementations§
impl RefUnwindSafe for ForumPost
impl Send for ForumPost
impl Sync for ForumPost
impl Unpin for ForumPost
impl UnwindSafe for ForumPost
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.