Struct colored_json::Styler
source · pub struct Styler {
pub object_brackets: Style,
pub array_brackets: Style,
pub key: Style,
pub string_value: Style,
pub integer_value: Style,
pub float_value: Style,
pub bool_value: Style,
pub nil_value: Style,
pub string_include_quotation: bool,
}
Expand description
Styler lets you define the look of the colored json output
Fields
object_brackets: Style
style of object brackets
array_brackets: Style
style of array brackets
key: Style
style of object
string_value: Style
style of string values
integer_value: Style
style of integer values
float_value: Style
style of float values
bool_value: Style
style of bool values
nil_value: Style
style of the nil
value
string_include_quotation: bool
should the quotation get the style of the inner string/key?
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Styler
impl Send for Styler
impl Sync for Styler
impl Unpin for Styler
impl UnwindSafe for Styler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more