Expand description
Enum to specify how arrays are formatted.
Variants
Plain
Uses only the key separator. Example: {"a": ["b"]}
=> {"a.0": "b"}
Surrounded
Does not use the key separator. Instead, the position in the array is surrounded with the
provided start
and end
strings.
Example: If start
is [
and end
is ]
then {"a": ["b"]}
=> {"a[0]": "b"}
Auto Trait Implementations
impl RefUnwindSafe for ArrayFormatting
impl Send for ArrayFormatting
impl Sync for ArrayFormatting
impl Unpin for ArrayFormatting
impl UnwindSafe for ArrayFormatting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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