pub enum JsonArrayString {
List(Vec<String>),
Fix(Vec<Value>),
}Expand description
What a string opening [ in a string-list slot reads as (4.11, the
reference’s jsonArrayString).
Variants§
List(Vec<String>)
A JSON array of strings: accepted as that list.
Fix(Vec<Value>)
Anything else: the list the error’s corrected call carries — the parsed array when the text parsed (a JSON array that is not all strings), else the comma split.
Trait Implementations§
Source§impl Clone for JsonArrayString
impl Clone for JsonArrayString
Source§impl Debug for JsonArrayString
impl Debug for JsonArrayString
Source§impl PartialEq for JsonArrayString
impl PartialEq for JsonArrayString
impl StructuralPartialEq for JsonArrayString
Auto Trait Implementations§
impl Freeze for JsonArrayString
impl RefUnwindSafe for JsonArrayString
impl Send for JsonArrayString
impl Sync for JsonArrayString
impl Unpin for JsonArrayString
impl UnsafeUnpin for JsonArrayString
impl UnwindSafe for JsonArrayString
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