Struct puffer::db::BoardPostLog
source · pub struct BoardPostLog {
pub author: String,
pub content: String,
pub content_html: String,
pub topic: Option<String>,
pub board: String,
pub is_hidden: bool,
pub reply: Option<String>,
pub pinned: Option<bool>,
pub replies: Option<usize>,
pub tags: Option<String>,
}
Fields§
§content: String
§content_html: String
§topic: Option<String>
§board: String
§reply: Option<String>
§pinned: Option<bool>
§replies: Option<usize>
Trait Implementations§
source§impl Clone for BoardPostLog
impl Clone for BoardPostLog
source§fn clone(&self) -> BoardPostLog
fn clone(&self) -> BoardPostLog
Returns a copy 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 Default for BoardPostLog
impl Default for BoardPostLog
source§fn default() -> BoardPostLog
fn default() -> BoardPostLog
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BoardPostLog
impl<'de> Deserialize<'de> for BoardPostLog
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
source§impl PartialEq for BoardPostLog
impl PartialEq for BoardPostLog
source§fn eq(&self, other: &BoardPostLog) -> bool
fn eq(&self, other: &BoardPostLog) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BoardPostLog
impl Serialize for BoardPostLog
impl StructuralPartialEq for BoardPostLog
Auto Trait Implementations§
impl RefUnwindSafe for BoardPostLog
impl Send for BoardPostLog
impl Sync for BoardPostLog
impl Unpin for BoardPostLog
impl UnwindSafe for BoardPostLog
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