#[non_exhaustive]pub struct XlsOptions {
pub force_codepage: Option<u16>,
pub header_row: HeaderRow,
}
Expand description
Options to perform specialized parsing.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.force_codepage: Option<u16>
Force a spreadsheet to be interpreted using a particular code page.
XLS files can contain code page identifiers. If this identifier is missing or incorrect,
strings in the parsed spreadsheet may be decoded incorrectly. Setting this field causes
calamine::Xls
to interpret strings using the specified code page, which may allow such
spreadsheets to be decoded properly.
header_row: HeaderRow
Row to use as header
Trait Implementations§
Source§impl Clone for XlsOptions
impl Clone for XlsOptions
Source§fn clone(&self) -> XlsOptions
fn clone(&self) -> XlsOptions
Returns a copy 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 moreSource§impl Debug for XlsOptions
impl Debug for XlsOptions
Source§impl Default for XlsOptions
impl Default for XlsOptions
Source§fn default() -> XlsOptions
fn default() -> XlsOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for XlsOptions
impl RefUnwindSafe for XlsOptions
impl Send for XlsOptions
impl Sync for XlsOptions
impl Unpin for XlsOptions
impl UnwindSafe for XlsOptions
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