pub struct BarCode {
pub require: bool,
pub field: String,
pub mode: String,
pub title: String,
pub def: String,
pub length: usize,
pub show: bool,
pub describe: String,
}Expand description
条码
Fields§
§require: bool必填
field: String字段名
mode: String模式
title: String字段描述
def: String默认值
length: usize字段总长度
show: bool是否显示
describe: String功能描述
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BarCode
impl Send for BarCode
impl Sync for BarCode
impl Unpin for BarCode
impl UnwindSafe for BarCode
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