pub struct AppConfig {
pub key: String,
pub title: String,
pub items: Vec<AppConfig>,
pub password: Option<String>,
}Expand description
应用/版本配置树:key 为注解引用的唯一标识,title 为展示名,items 递归嵌套 版本,password 为该应用的独立访问密码(优先级高于全局密码,永不序列化)。
Fields§
§key: String§title: String§items: Vec<AppConfig>§password: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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