[][src]Struct df_st_core::item_count::ItemCount

pub struct ItemCount {
    pub count: u32,
    pub value: Value,
}

Fields

count: u32

The amount of items with this value.

value: Value

The value of the field that it is grouped by. The value is total when no group by is given. The type varies depending on the group_by field type.

Implementations

impl ItemCount[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for ItemCount[src]

impl Debug for ItemCount[src]

impl Default for ItemCount[src]

impl<'de> Deserialize<'de> for ItemCount[src]

impl JsonSchema for ItemCount[src]

impl SchemaExample for ItemCount[src]

impl Serialize for ItemCount[src]

Auto Trait Implementations

impl RefUnwindSafe for ItemCount

impl Send for ItemCount

impl Sync for ItemCount

impl Unpin for ItemCount

impl UnwindSafe for ItemCount

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.