pub struct WorkbookInfo {
pub filename: String,
pub extension: String,
pub selected: Option<Vec<String>>,
pub sheets: Vec<String>,
}Expand description
Core info about a spreadsheet with extension, matched worksheet name and index an all worksheet keys
Fields§
§filename: String§extension: String§selected: Option<Vec<String>>§sheets: Vec<String>Implementations§
Source§impl WorkbookInfo
impl WorkbookInfo
pub fn new( path_data: &PathData<'_>, selected: &[String], sheet_refs: &[String], ) -> Self
pub fn simple(path_data: &PathData<'_>) -> Self
pub fn ext(&self) -> String
pub fn name(&self) -> String
pub fn sheet(&self, index: usize) -> (String, usize)
pub fn sheets(&self) -> Vec<String>
Trait Implementations§
Source§impl Clone for WorkbookInfo
impl Clone for WorkbookInfo
Source§fn clone(&self) -> WorkbookInfo
fn clone(&self) -> WorkbookInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorkbookInfo
impl RefUnwindSafe for WorkbookInfo
impl Send for WorkbookInfo
impl Sync for WorkbookInfo
impl Unpin for WorkbookInfo
impl UnwindSafe for WorkbookInfo
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