pub struct DynamicRow {
pub entries: Vec<(String, CellValue)>,
}Expand description
完全动态的行:不预声明列,文件有什么列收什么列(“动态导入表格头适配”)
Fields§
§entries: Vec<(String, CellValue)>(表头, 值),按文件列序
Implementations§
Trait Implementations§
Source§impl Clone for DynamicRow
impl Clone for DynamicRow
Source§impl Debug for DynamicRow
impl Debug for DynamicRow
Source§impl Default for DynamicRow
impl Default for DynamicRow
Source§impl ExcelRow for DynamicRow
impl ExcelRow for DynamicRow
Source§fn sheet_name() -> Option<&'static str>
fn sheet_name() -> Option<&'static str>
该模型默认落到哪个 sheet(多 sheet 导出时使用)
Auto Trait Implementations§
impl Freeze for DynamicRow
impl RefUnwindSafe for DynamicRow
impl Send for DynamicRow
impl Sync for DynamicRow
impl Unpin for DynamicRow
impl UnsafeUnpin for DynamicRow
impl UnwindSafe for DynamicRow
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