pub struct Row {Show 16 fields
pub reference: Option<u32>,
pub cell_spans: Option<CellSpans>,
pub style_index: Option<u32>,
pub custom_format: Option<bool>,
pub height: Option<f64>,
pub hidden: Option<bool>,
pub custom_height: Option<bool>,
pub outline_level: Option<u8>,
pub collapsed: Option<bool>,
pub thick_top: Option<bool>,
pub thick_bot: Option<bool>,
pub placeholder: Option<bool>,
pub cells: Vec<Cell>,
pub extension_list: Option<Box<ExtensionList>>,
pub extra_attrs: HashMap<String, String>,
pub extra_children: Vec<PositionedNode>,
}Fields§
§reference: Option<u32>§cell_spans: Option<CellSpans>§style_index: Option<u32>§custom_format: Option<bool>§height: Option<f64>§custom_height: Option<bool>§outline_level: Option<u8>§collapsed: Option<bool>§thick_top: Option<bool>§thick_bot: Option<bool>§placeholder: Option<bool>§cells: Vec<Cell>§extension_list: Option<Box<ExtensionList>>§extra_attrs: HashMap<String, String>Unknown attributes captured for roundtrip fidelity.
extra_children: Vec<PositionedNode>Unknown child elements captured for roundtrip fidelity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Row
impl<'de> Deserialize<'de> for Row
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 Row
impl FromXml for Row
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 RowExt for Row
impl RowExt for Row
Source§fn row_number(&self) -> Option<u32>
fn row_number(&self) -> Option<u32>
Get the 1-based row number.
Source§fn cell_count(&self) -> usize
fn cell_count(&self) -> usize
Get the number of cells in this row.
Source§fn cells_iter(&self) -> impl Iterator<Item = &Cell>
fn cells_iter(&self) -> impl Iterator<Item = &Cell>
Iterate over cells.
Source§impl ToXml for Row
impl ToXml for Row
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_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_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/>.Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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