Struct lemmy_db_schema::source::person::PersonForm[][src]

pub struct PersonForm {
Show 19 fields pub name: String, pub display_name: Option<Option<String>>, pub avatar: Option<Option<DbUrl>>, pub banned: Option<bool>, pub published: Option<NaiveDateTime>, pub updated: Option<NaiveDateTime>, pub actor_id: Option<DbUrl>, pub bio: Option<Option<String>>, pub local: Option<bool>, pub private_key: Option<Option<String>>, pub public_key: Option<Option<String>>, pub last_refreshed_at: Option<NaiveDateTime>, pub banner: Option<Option<DbUrl>>, pub deleted: Option<bool>, pub inbox_url: Option<DbUrl>, pub shared_inbox_url: Option<Option<DbUrl>>, pub matrix_user_id: Option<Option<String>>, pub admin: Option<bool>, pub bot_account: Option<bool>,
}

Fields

name: Stringdisplay_name: Option<Option<String>>avatar: Option<Option<DbUrl>>banned: Option<bool>published: Option<NaiveDateTime>updated: Option<NaiveDateTime>actor_id: Option<DbUrl>bio: Option<Option<String>>local: Option<bool>private_key: Option<Option<String>>public_key: Option<Option<String>>last_refreshed_at: Option<NaiveDateTime>banner: Option<Option<DbUrl>>deleted: Option<bool>inbox_url: Option<DbUrl>shared_inbox_url: Option<Option<DbUrl>>matrix_user_id: Option<Option<String>>admin: Option<bool>bot_account: 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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.