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