pub struct Object {
pub require: bool,
pub field: String,
pub mode: String,
pub title: String,
pub def: JsonValue,
pub length: i32,
pub show: bool,
pub describe: String,
}Expand description
Object
Fields§
§require: bool是否必填
field: String字段名
mode: String§title: String字段描述
def: JsonValue默认值
length: i32§show: bool§describe: String功能描述
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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