pub struct TypeCounts {
pub string: u64,
pub number: u64,
pub boolean: u64,
pub object: u64,
pub array: u64,
pub null: u64,
}Expand description
How many values at a path were each JSON type. Serialised with only the types seen.
Fields§
§string: u64Strings.
number: u64Numbers.
boolean: u64true and false.
object: u64Objects.
array: u64Arrays.
null: u64null.
Implementations§
Trait Implementations§
Source§impl Clone for TypeCounts
impl Clone for TypeCounts
impl Copy for TypeCounts
Source§impl Debug for TypeCounts
impl Debug for TypeCounts
Source§impl Default for TypeCounts
impl Default for TypeCounts
Source§impl<'de> Deserialize<'de> for TypeCounts
impl<'de> Deserialize<'de> for TypeCounts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TypeCounts
Source§impl PartialEq for TypeCounts
impl PartialEq for TypeCounts
Source§impl Serialize for TypeCounts
impl Serialize for TypeCounts
impl StructuralPartialEq for TypeCounts
Auto Trait Implementations§
impl Freeze for TypeCounts
impl RefUnwindSafe for TypeCounts
impl Send for TypeCounts
impl Sync for TypeCounts
impl Unpin for TypeCounts
impl UnsafeUnpin for TypeCounts
impl UnwindSafe for TypeCounts
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.