pub struct Address {
pub require: bool,
pub field: String,
pub mode: String,
pub title: String,
pub length: usize,
pub show: bool,
pub describe: String,
pub def: String,
pub example: JsonValue,
}Expand description
地址字段(地图选坐标 → 反向地理编码 → 存地址文本)
- require 是否必填
- field 字段名
- mode 模式 address
- title 字段描述
- length 字符长度
- def 默认值
Fields§
§require: bool§field: String§mode: String§title: String§length: usize§show: bool§describe: String§def: String§example: JsonValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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