pub struct FormatOptions {
pub delimiter: Option<char>,
pub no_header: bool,
pub pretty: bool,
pub compact: bool,
pub flow_style: bool,
pub root_element: Option<String>,
pub styled: bool,
pub full_html: bool,
}Expand description
Format-specific options controlling how data is read or written.
Use Default::default() to get sensible defaults.
Fields§
§delimiter: Option<char>CSV delimiter (기본: ‘,’)
no_header: boolCSV 헤더 없음 모드
pretty: boolPretty-print 출력
compact: boolCompact 출력 (JSON)
flow_style: boolYAML inline/flow 스타일
root_element: Option<String>XML 루트 엘리먼트 이름 (기본: “root”)
styled: boolHTML 인라인 CSS 스타일 포함
full_html: boolHTML 완전한 문서 출력
Trait Implementations§
Source§impl Clone for FormatOptions
impl Clone for FormatOptions
Source§fn clone(&self) -> FormatOptions
fn clone(&self) -> FormatOptions
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 FormatOptions
impl Debug for FormatOptions
Auto Trait Implementations§
impl Freeze for FormatOptions
impl RefUnwindSafe for FormatOptions
impl Send for FormatOptions
impl Sync for FormatOptions
impl Unpin for FormatOptions
impl UnsafeUnpin for FormatOptions
impl UnwindSafe for FormatOptions
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