pub enum SettingsSection {
Site,
Security,
Cache,
AssetPurge,
RateLimit,
Image,
Runner,
Backup,
Trash,
Upload,
System,
}Expand description
设置页面的分区枚举。
Variants§
Site
站点公开配置(页脚 GitHub 链接等)。
Security
安全配置(CSRF / cookie / 代理 / 会话)。
Cache
缓存配置(图片磁盘缓存)。
AssetPurge
孤儿素材自动清理。
RateLimit
限流配置(各接口速率限制)。
Image
图片处理配置(WebP 编码 / 尺寸上限)。
Runner
代码运行器配置(沙箱资源限制)。
Backup
自动备份调度。
Trash
回收站自动清理。
Upload
素材上传并发。
System
系统启动配置(只读)。
Implementations§
Trait Implementations§
Source§impl Clone for SettingsSection
impl Clone for SettingsSection
Source§fn clone(&self) -> SettingsSection
fn clone(&self) -> SettingsSection
Returns a duplicate 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 Debug for SettingsSection
impl Debug for SettingsSection
Source§impl PartialEq for SettingsSection
impl PartialEq for SettingsSection
impl Copy for SettingsSection
impl StructuralPartialEq for SettingsSection
Auto Trait Implementations§
impl Freeze for SettingsSection
impl RefUnwindSafe for SettingsSection
impl Send for SettingsSection
impl Sync for SettingsSection
impl Unpin for SettingsSection
impl UnsafeUnpin for SettingsSection
impl UnwindSafe for SettingsSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.