pub struct Worksheet {Show 40 fields
pub sheet_properties: Option<Box<SheetProperties>>,
pub dimension: Option<Box<SheetDimension>>,
pub sheet_views: Option<Box<SheetViews>>,
pub sheet_format: Option<Box<SheetFormat>>,
pub cols: Vec<Columns>,
pub sheet_data: Box<SheetData>,
pub sheet_calc_pr: Option<Box<SheetCalcProperties>>,
pub sheet_protection: Option<Box<SheetProtection>>,
pub protected_ranges: Option<Box<ProtectedRanges>>,
pub scenarios: Option<Box<Scenarios>>,
pub auto_filter: Option<Box<AutoFilter>>,
pub sort_state: Option<Box<SortState>>,
pub data_consolidate: Option<Box<CTDataConsolidate>>,
pub custom_sheet_views: Option<Box<CustomSheetViews>>,
pub merged_cells: Option<Box<MergedCells>>,
pub phonetic_pr: Option<Box<PhoneticProperties>>,
pub conditional_formatting: Vec<ConditionalFormatting>,
pub data_validations: Option<Box<DataValidations>>,
pub hyperlinks: Option<Box<Hyperlinks>>,
pub print_options: Option<Box<PrintOptions>>,
pub page_margins: Option<Box<PageMargins>>,
pub page_setup: Option<Box<PageSetup>>,
pub header_footer: Option<Box<HeaderFooter>>,
pub row_breaks: Option<Box<PageBreaks>>,
pub col_breaks: Option<Box<PageBreaks>>,
pub custom_properties: Option<Box<CTCustomProperties>>,
pub cell_watches: Option<Box<CellWatches>>,
pub ignored_errors: Option<Box<IgnoredErrors>>,
pub smart_tags: Option<Box<SmartTags>>,
pub drawing: Option<Box<Drawing>>,
pub legacy_drawing: Option<Box<LegacyDrawing>>,
pub legacy_drawing_h_f: Option<Box<LegacyDrawing>>,
pub drawing_h_f: Option<Box<DrawingHeaderFooter>>,
pub picture: Option<Box<SheetBackgroundPicture>>,
pub ole_objects: Option<Box<OleObjects>>,
pub controls: Option<Box<Controls>>,
pub web_publish_items: Option<Box<WebPublishItems>>,
pub table_parts: Option<Box<TableParts>>,
pub extension_list: Option<Box<ExtensionList>>,
pub extra_children: Vec<PositionedNode>,
}Fields§
§sheet_properties: Option<Box<SheetProperties>>§dimension: Option<Box<SheetDimension>>§sheet_views: Option<Box<SheetViews>>§sheet_format: Option<Box<SheetFormat>>§cols: Vec<Columns>§sheet_data: Box<SheetData>§sheet_calc_pr: Option<Box<SheetCalcProperties>>§sheet_protection: Option<Box<SheetProtection>>§protected_ranges: Option<Box<ProtectedRanges>>§scenarios: Option<Box<Scenarios>>§auto_filter: Option<Box<AutoFilter>>§sort_state: Option<Box<SortState>>§data_consolidate: Option<Box<CTDataConsolidate>>§custom_sheet_views: Option<Box<CustomSheetViews>>§merged_cells: Option<Box<MergedCells>>§phonetic_pr: Option<Box<PhoneticProperties>>§conditional_formatting: Vec<ConditionalFormatting>§data_validations: Option<Box<DataValidations>>§hyperlinks: Option<Box<Hyperlinks>>§print_options: Option<Box<PrintOptions>>§page_margins: Option<Box<PageMargins>>§page_setup: Option<Box<PageSetup>>§row_breaks: Option<Box<PageBreaks>>§col_breaks: Option<Box<PageBreaks>>§custom_properties: Option<Box<CTCustomProperties>>§cell_watches: Option<Box<CellWatches>>§ignored_errors: Option<Box<IgnoredErrors>>§drawing: Option<Box<Drawing>>§legacy_drawing: Option<Box<LegacyDrawing>>§legacy_drawing_h_f: Option<Box<LegacyDrawing>>§drawing_h_f: Option<Box<DrawingHeaderFooter>>§picture: Option<Box<SheetBackgroundPicture>>§ole_objects: Option<Box<OleObjects>>§controls: Option<Box<Controls>>§web_publish_items: Option<Box<WebPublishItems>>§table_parts: Option<Box<TableParts>>§extension_list: Option<Box<ExtensionList>>§extra_children: Vec<PositionedNode>Unknown child elements captured for roundtrip fidelity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Worksheet
impl<'de> Deserialize<'de> for Worksheet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromXml for Worksheet
impl FromXml for Worksheet
Source§fn from_xml<R: BufRead>(
reader: &mut Reader<R>,
start_tag: &BytesStart<'_>,
is_empty: bool,
) -> Result<Self, ParseError>
fn from_xml<R: BufRead>( reader: &mut Reader<R>, start_tag: &BytesStart<'_>, is_empty: bool, ) -> Result<Self, ParseError>
Parse from an XML reader positioned at the start tag. Read more
Source§impl ToXml for Worksheet
impl ToXml for Worksheet
Source§fn write_children<W: Write>(
&self,
writer: &mut Writer<W>,
) -> Result<(), SerializeError>
fn write_children<W: Write>( &self, writer: &mut Writer<W>, ) -> Result<(), SerializeError>
Write child elements and text content inside the element.
Source§fn is_empty_element(&self) -> bool
fn is_empty_element(&self) -> bool
Whether this element has no children (self-closing).
Source§fn write_attrs<'a>(&self, start: BytesStart<'a>) -> BytesStart<'a>
fn write_attrs<'a>(&self, start: BytesStart<'a>) -> BytesStart<'a>
Write attributes onto the start tag and return it.
Source§fn write_element<W>(
&self,
tag: &str,
writer: &mut Writer<W>,
) -> Result<(), SerializeError>where
W: Write,
fn write_element<W>(
&self,
tag: &str,
writer: &mut Writer<W>,
) -> Result<(), SerializeError>where
W: Write,
Write a complete element:
<tag attrs>children</tag> or <tag attrs/>.Source§impl WorksheetConditionalFormattingExt for Worksheet
Available on crate feature sml-styling only.
impl WorksheetConditionalFormattingExt for Worksheet
Available on crate feature
sml-styling only.Source§fn conditional_formattings(&self) -> &[ConditionalFormatting]
fn conditional_formattings(&self) -> &[ConditionalFormatting]
Get all conditional formatting rules on this worksheet.
Source§impl WorksheetExt for Worksheet
impl WorksheetExt for Worksheet
Source§fn sheet_data(&self) -> &SheetData
fn sheet_data(&self) -> &SheetData
Get the sheet data (rows and cells).
Source§fn has_auto_filter(&self) -> bool
fn has_auto_filter(&self) -> bool
Check if the worksheet has an auto-filter.
Source§fn has_merged_cells(&self) -> bool
fn has_merged_cells(&self) -> bool
Check if the worksheet has merged cells.
Source§fn has_conditional_formatting(&self) -> bool
fn has_conditional_formatting(&self) -> bool
Check if the worksheet has conditional formatting.
Source§fn has_data_validations(&self) -> bool
fn has_data_validations(&self) -> bool
Check if the worksheet has data validations.
Source§fn has_freeze_panes(&self) -> bool
fn has_freeze_panes(&self) -> bool
Check if the worksheet has freeze panes.
Auto Trait Implementations§
impl Freeze for Worksheet
impl RefUnwindSafe for Worksheet
impl Send for Worksheet
impl Sync for Worksheet
impl Unpin for Worksheet
impl UnsafeUnpin for Worksheet
impl UnwindSafe for Worksheet
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