Available on crate feature
json
only.Expand description
Reference to JSON data.
Variants
Float(&'a [u8], &'a [u8])
A float (contains exactly 1 period)
Integer(&'a [u8], &'a [u8])
An integer (contains exactly 0 periods)
Trait Implementations
impl<'a> Copy for Number<'a>
impl<'a> Eq for Number<'a>
impl<'a> StructuralEq for Number<'a>
impl<'a> StructuralPartialEq for Number<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Number<'a>
impl<'a> Send for Number<'a>
impl<'a> Sync for Number<'a>
impl<'a> Unpin for Number<'a>
impl<'a> UnwindSafe for Number<'a>
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
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.