pub struct XmlWriteOptions {
pub include_index: bool,
pub root_name: String,
pub row_name: String,
pub index_label: Option<String>,
}Expand description
Options controlling XML serialization.
Covers the writer-only default shape of pandas DataFrame.to_xml.
Fields§
§include_index: boolIf true, include the index as the first field in each row. Default: true.
root_name: StringXML root element name. Default: "data".
row_name: StringXML row element name. Default: "row".
index_label: Option<String>Optional index element name. When omitted, use the index name or
pandas’ default "index".
Trait Implementations§
Source§impl Clone for XmlWriteOptions
impl Clone for XmlWriteOptions
Source§fn clone(&self) -> XmlWriteOptions
fn clone(&self) -> XmlWriteOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 XmlWriteOptions
impl Debug for XmlWriteOptions
Auto Trait Implementations§
impl Freeze for XmlWriteOptions
impl RefUnwindSafe for XmlWriteOptions
impl Send for XmlWriteOptions
impl Sync for XmlWriteOptions
impl Unpin for XmlWriteOptions
impl UnsafeUnpin for XmlWriteOptions
impl UnwindSafe for XmlWriteOptions
Blanket Implementations§
impl<T> Allocation for T
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