pub struct CategoryCount {
pub category: String,
pub count: usize,
}Expand description
Category with count.
Fields§
§category: StringThe category name.
count: usizeNumber of nodes in this category.
Trait Implementations§
Source§impl Clone for CategoryCount
impl Clone for CategoryCount
Source§fn clone(&self) -> CategoryCount
fn clone(&self) -> CategoryCount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CategoryCount
impl Debug for CategoryCount
Source§impl<'de> Deserialize<'de> for CategoryCount
impl<'de> Deserialize<'de> for CategoryCount
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
Auto Trait Implementations§
impl Freeze for CategoryCount
impl RefUnwindSafe for CategoryCount
impl Send for CategoryCount
impl Sync for CategoryCount
impl Unpin for CategoryCount
impl UnsafeUnpin for CategoryCount
impl UnwindSafe for CategoryCount
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