Struct lemmy_db_schema::source::post_report::PostReportForm[][src]

pub struct PostReportForm {
    pub creator_id: PersonId,
    pub post_id: PostId,
    pub original_post_name: String,
    pub original_post_url: Option<DbUrl>,
    pub original_post_body: Option<String>,
    pub reason: String,
}

Fields

creator_id: PersonIdpost_id: PostIdoriginal_post_name: Stringoriginal_post_url: Option<DbUrl>original_post_body: Option<String>reason: String

Trait Implementations

The table which Self::Changeset will be updating

The update statement this type represents

Convert self into the actual update statement being executed

The table which Self::Changeset will be updating

The update statement this type represents

Convert self into the actual update statement being executed

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The VALUES clause to insert these records Read more

Construct Self::Values Read more

Insert self into a given table. Read more

The VALUES clause to insert these records Read more

Construct Self::Values Read more

Insert self into a given table. 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.

Performs the conversion.

Convert self to an expression for Diesel’s query builder. Read more

Convert &self to an expression for Diesel’s query builder. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.