Struct lemmy_db_schema::source::site::SiteUpdateForm
source · pub struct SiteUpdateForm {
pub name: Option<String>,
pub sidebar: Option<Option<String>>,
pub updated: Option<Option<DateTime<Utc>>>,
pub icon: Option<Option<DbUrl>>,
pub banner: Option<Option<DbUrl>>,
pub description: Option<Option<String>>,
pub actor_id: Option<DbUrl>,
pub last_refreshed_at: Option<DateTime<Utc>>,
pub inbox_url: Option<DbUrl>,
pub private_key: Option<Option<String>>,
pub public_key: Option<String>,
pub content_warning: Option<Option<String>>,
}
Fields§
§name: Option<String>
§updated: Option<Option<DateTime<Utc>>>
§icon: Option<Option<DbUrl>>
§description: Option<Option<String>>
§actor_id: Option<DbUrl>
§last_refreshed_at: Option<DateTime<Utc>>
§inbox_url: Option<DbUrl>
§private_key: Option<Option<String>>
§public_key: Option<String>
§content_warning: Option<Option<String>>
Trait Implementations§
source§impl Clone for SiteUpdateForm
impl Clone for SiteUpdateForm
source§fn clone(&self) -> SiteUpdateForm
fn clone(&self) -> SiteUpdateForm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SiteUpdateForm
impl Default for SiteUpdateForm
source§fn default() -> SiteUpdateForm
fn default() -> SiteUpdateForm
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SiteUpdateForm
impl RefUnwindSafe for SiteUpdateForm
impl Send for SiteUpdateForm
impl Sync for SiteUpdateForm
impl Unpin for SiteUpdateForm
impl UnwindSafe for SiteUpdateForm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more