pub struct LocationAddress {
pub require: bool,
pub field: String,
pub mode: String,
pub title: String,
pub length: i32,
pub show: bool,
pub describe: String,
pub def: JsonValue,
pub example: JsonValue,
}Expand description
坐标+地址组合字段(地图选坐标 → 反向地理编码 → 存 JSON {lng, lat, address})
- require 是否必填
- field 字段名
- mode 模式 location_address
- title 字段描述
- def 默认值(JSON 对象)
Fields§
§require: bool§field: String§mode: String§title: String§length: i32§show: bool§describe: String§def: JsonValue§example: JsonValueImplementations§
Trait Implementations§
Source§impl Clone for LocationAddress
impl Clone for LocationAddress
Source§fn clone(&self) -> LocationAddress
fn clone(&self) -> LocationAddress
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 LocationAddress
impl Debug for LocationAddress
Auto Trait Implementations§
impl Freeze for LocationAddress
impl RefUnwindSafe for LocationAddress
impl Send for LocationAddress
impl Sync for LocationAddress
impl Unpin for LocationAddress
impl UnsafeUnpin for LocationAddress
impl UnwindSafe for LocationAddress
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