pub struct Settings {
pub id: Option<i64>,
pub biz_code: Option<Option<String>>,
pub biz_identity: Option<Option<String>>,
pub provider_code: Option<Option<String>>,
pub group_code: Option<Option<String>>,
pub code: Option<Option<String>>,
pub value: Option<Option<String>>,
pub tags: Option<Option<String>>,
pub description: Option<Option<String>>,
pub frontend_usable: Option<bool>,
pub create_date: Option<String>,
pub last_update: Option<String>,
}Expand description
Settings : 公共配置存储实体,用于集中管理系统的配置项。
Fields§
§id: Option<i64>配置项的唯一标识符。
biz_code: Option<Option<String>>配置项所属的业务代码,用于分类管理。
biz_identity: Option<Option<String>>配置项所属的业务标识,用于唯一标识业务。
provider_code: Option<Option<String>>配置项的提供者代码,用于标识配置来源。
group_code: Option<Option<String>>配置项的分组代码,用于组织和管理相关配置。
code: Option<Option<String>>配置项的唯一代码,用于标识具体的配置项。
value: Option<Option<String>>配置项的具体值,存储配置内容。
用于分类或标记配置项的标签。
description: Option<Option<String>>配置项的详细描述,说明其用途和作用。
frontend_usable: Option<bool>指示该配置项是否可供前端使用。
create_date: Option<String>配置项的创建日期,默认为当前时间。
last_update: Option<String>配置项的最后更新日期,默认为当前时间。
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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