pub struct CategoryCount {
pub category: Option<String>,
pub count: Option<i64>,
}Expand description
Represents the count of a single category within the cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§category: Option<String>The name of category.
count: Option<i64>The count of training samples matching the category within the cluster.
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 Default for CategoryCount
impl Default for CategoryCount
Source§fn default() -> CategoryCount
fn default() -> CategoryCount
Returns the “default value” for a type. Read more
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
Source§impl Serialize for CategoryCount
impl Serialize for CategoryCount
impl Part for CategoryCount
Auto Trait Implementations§
impl Freeze for CategoryCount
impl RefUnwindSafe for CategoryCount
impl Send for CategoryCount
impl Sync for CategoryCount
impl Unpin 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