pub struct Location {
pub require: bool,
pub field: String,
pub mode: String,
pub title: String,
pub length: i32,
pub show: bool,
pub describe: String,
pub def: String,
pub example: JsonValue,
}Expand description
附件
- require 是否必填
- field 字段名
- mode 模式 file
- title 字段描述
- length 附件数量
- def 默认值
Fields§
§require: bool§field: String§mode: String§title: String§length: i32§show: bool§describe: String§def: String§example: JsonValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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