pub enum NumericStrings {
Reject,
Coerce,
}Expand description
How to treat numbers sent as JSON strings ("42").
Variants§
Trait Implementations§
Source§impl Clone for NumericStrings
impl Clone for NumericStrings
impl Copy for NumericStrings
Source§impl Debug for NumericStrings
impl Debug for NumericStrings
Source§impl Default for NumericStrings
impl Default for NumericStrings
impl Eq for NumericStrings
Source§impl PartialEq for NumericStrings
impl PartialEq for NumericStrings
impl StructuralPartialEq for NumericStrings
Auto Trait Implementations§
impl Forget for NumericStrings
impl Freeze for NumericStrings
impl RefUnwindSafe for NumericStrings
impl Send for NumericStrings
impl Sync for NumericStrings
impl Unpin for NumericStrings
impl UnsafeUnpin for NumericStrings
impl UnwindSafe for NumericStrings
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