Struct backend::models::content::Reply [−][src]
pub struct Reply {
pub post_id: i64,
pub reply_id: i32,
pub burrow_id: i64,
pub create_time: DateTimeWithTimeZone,
pub update_time: DateTimeWithTimeZone,
pub content: String,
pub reply_state: i32,
}Expand description
Reply information of database
Fields
Reply::post_id: Post id of the replyReply::reply_id: Reply id of the replyReply::burrow_id: Burrow id of the replyReply::create_time: Created time of the replyReply::update_time: Updated time of the replyReply::content: Content of the replyReply::reply_state: State of the post
Fields
post_id: i64reply_id: i32burrow_id: i64create_time: DateTimeWithTimeZoneupdate_time: DateTimeWithTimeZonecontent: Stringreply_state: i32Trait Implementations
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 RefUnwindSafe for Reply
impl UnwindSafe for Reply
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more