mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-03-28 14:15:28 +00:00
10 lines
246 B
Rust
10 lines
246 B
Rust
use super::*;
|
|
|
|
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct PageExtension {
|
|
pub comments_enabled: bool,
|
|
pub sensitive: bool,
|
|
}
|
|
|
|
impl<T> Extension<T> for PageExtension where T: Base {}
|