Struct serde_intermediate::ser::text::TextConfig
source · pub struct TextConfig {
pub style: TextConfigStyle,
pub numbers_with_type: bool,
}
Fields§
§style: TextConfigStyle
§numbers_with_type: bool
Implementations§
source§impl TextConfig
impl TextConfig
pub fn with_style(self, style: TextConfigStyle) -> Self
pub fn with_numbers_with_type(self, mode: bool) -> Self
Trait Implementations§
source§impl Clone for TextConfig
impl Clone for TextConfig
source§fn clone(&self) -> TextConfig
fn clone(&self) -> TextConfig
Returns a copy 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 TextConfig
impl Debug for TextConfig
Auto Trait Implementations§
impl RefUnwindSafe for TextConfig
impl Send for TextConfig
impl Sync for TextConfig
impl Unpin for TextConfig
impl UnwindSafe for TextConfig
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