Struct lemmy_db_schema::source::post::PostForm[][src]

pub struct PostForm {
Show 18 fields pub name: String, pub creator_id: PersonId, pub community_id: CommunityId, pub nsfw: Option<bool>, pub url: Option<DbUrl>, pub body: Option<String>, pub removed: Option<bool>, pub locked: Option<bool>, pub published: Option<NaiveDateTime>, pub updated: Option<NaiveDateTime>, pub deleted: Option<bool>, pub stickied: Option<bool>, pub embed_title: Option<String>, pub embed_description: Option<String>, pub embed_html: Option<String>, pub thumbnail_url: Option<DbUrl>, pub ap_id: Option<DbUrl>, pub local: Option<bool>,
}

Fields

name: Stringcreator_id: PersonIdcommunity_id: CommunityIdnsfw: Option<bool>url: Option<DbUrl>body: Option<String>removed: Option<bool>locked: Option<bool>published: Option<NaiveDateTime>updated: Option<NaiveDateTime>deleted: Option<bool>stickied: Option<bool>embed_title: Option<String>embed_description: Option<String>embed_html: Option<String>thumbnail_url: Option<DbUrl>ap_id: Option<DbUrl>local: Option<bool>

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 the “default value” for a type. 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 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.