pub struct AppTableFieldProperty {Show 17 fields
pub options: Option<Vec<AppTableFieldPropertyOption>>,
pub formatter: Option<String>,
pub date_formater: Option<String>,
pub auto_fill: Option<bool>,
pub multiple: Option<bool>,
pub table_id: Option<String>,
pub table_name: Option<String>,
pub back_field_name: Option<String>,
pub auto_serial: Option<AppTableFieldPropertyAutoSerial>,
pub location: Option<AppTableFieldPropertyLocation>,
pub formula_expression: Option<String>,
pub allowed_edit_modes: Option<AppTableFieldPropertyAllowedEditModes>,
pub min: Option<f32>,
pub max: Option<f32>,
pub range_customize: Option<bool>,
pub currency_code: Option<String>,
pub rating: Option<AppTableFieldPropertyRating>,
}Fields§
§options: Option<Vec<AppTableFieldPropertyOption>>单选、多选字段的选项信息
formatter: Option<String>数字、公式字段的显示格式
date_formater: Option<String>日期、创建时间、最后更新时间字段的显示格式
auto_fill: Option<bool>日期字段中新纪录自动填写创建时间
multiple: Option<bool>人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录
table_id: Option<String>单向关联、双向关联字段中关联的数据表的id
table_name: Option<String>单向关联、双向关联字段中关联的数据表的名字
back_field_name: Option<String>双向关联字段中关联的数据表中对应的双向关联字段的名字
auto_serial: Option<AppTableFieldPropertyAutoSerial>自动编号类型
location: Option<AppTableFieldPropertyLocation>地理位置输入方式
formula_expression: Option<String>公式字段的表达式
allowed_edit_modes: Option<AppTableFieldPropertyAllowedEditModes>字段支持的编辑模式
min: Option<f32>进度、评分等字段的数据范围最小值
max: Option<f32>进度、评分等字段的数据范围最大值
range_customize: Option<bool>进度等字段是否支持自定义范围
currency_code: Option<String>货币币种
rating: Option<AppTableFieldPropertyRating>评分字段的相关设置
Trait Implementations§
source§impl Debug for AppTableFieldProperty
impl Debug for AppTableFieldProperty
source§impl<'de> Deserialize<'de> for AppTableFieldProperty
impl<'de> Deserialize<'de> for AppTableFieldProperty
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
Auto Trait Implementations§
impl Freeze for AppTableFieldProperty
impl RefUnwindSafe for AppTableFieldProperty
impl Send for AppTableFieldProperty
impl Sync for AppTableFieldProperty
impl Unpin for AppTableFieldProperty
impl UnwindSafe for AppTableFieldProperty
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