pub struct SaveTxtOptions {
pub delimiter: char,
pub fmt: Option<String>,
pub header: Option<String>,
pub footer: Option<String>,
pub newline: String,
}Expand description
Options for saving text files.
Fields§
§delimiter: charColumn delimiter (default: ‘,’).
fmt: Option<String>Format string for each element. Uses Rust format syntax.
If None, the default Display formatting is used.
header: Option<String>Optional header line written before data.
Optional footer line written after data.
newline: StringLine ending (default: “\n”).
Trait Implementations§
Source§impl Clone for SaveTxtOptions
impl Clone for SaveTxtOptions
Source§fn clone(&self) -> SaveTxtOptions
fn clone(&self) -> SaveTxtOptions
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 moreSource§impl Debug for SaveTxtOptions
impl Debug for SaveTxtOptions
Auto Trait Implementations§
impl Freeze for SaveTxtOptions
impl RefUnwindSafe for SaveTxtOptions
impl Send for SaveTxtOptions
impl Sync for SaveTxtOptions
impl Unpin for SaveTxtOptions
impl UnsafeUnpin for SaveTxtOptions
impl UnwindSafe for SaveTxtOptions
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