pub struct Config {Show 13 fields
pub call_to_json: bool,
pub compare_keys: Option<Rc<dyn Fn(String, String) -> usize>>,
pub colors: Colors,
pub escape_regex: bool,
pub escape_string: bool,
pub indent: String,
pub max_depth: usize,
pub max_width: usize,
pub min: bool,
pub plugins: Vec<Rc<dyn Plugin>>,
pub print_function_name: bool,
pub spacing_inner: String,
pub spacing_outer: String,
}Fields§
§call_to_json: bool§compare_keys: Option<Rc<dyn Fn(String, String) -> usize>>§colors: Colors§escape_regex: bool§escape_string: bool§indent: String§max_depth: usize§max_width: usize§min: bool§plugins: Vec<Rc<dyn Plugin>>§print_function_name: bool§spacing_inner: String§spacing_outer: StringAuto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
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