pub struct FrequentItemset {
pub items: Vec<String>,
pub support: usize,
}Expand description
A frequent itemset and its support count across the transaction list.
Fields§
§items: Vec<String>Items in deterministic (sorted) order.
support: usizeTrait Implementations§
Source§impl Clone for FrequentItemset
impl Clone for FrequentItemset
Source§fn clone(&self) -> FrequentItemset
fn clone(&self) -> FrequentItemset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FrequentItemset
impl Debug for FrequentItemset
Source§impl<'de> Deserialize<'de> for FrequentItemset
impl<'de> Deserialize<'de> for FrequentItemset
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 FrequentItemset
impl RefUnwindSafe for FrequentItemset
impl Send for FrequentItemset
impl Sync for FrequentItemset
impl Unpin for FrequentItemset
impl UnsafeUnpin for FrequentItemset
impl UnwindSafe for FrequentItemset
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