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 reply
  • Reply::reply_id: Reply id of the reply
  • Reply::burrow_id: Burrow id of the reply
  • Reply::create_time: Created time of the reply
  • Reply::update_time: Updated time of the reply
  • Reply::content: Content of the reply
  • Reply::reply_state: State of the post

Fields

post_id: i64reply_id: i32burrow_id: i64create_time: DateTimeWithTimeZoneupdate_time: DateTimeWithTimeZonecontent: Stringreply_state: i32

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Converts self into a collection.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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