pub struct CountGrouped { /* private fields */ }
Expand description
count
command with grouping.
Implementations§
Source§impl CountGrouped
impl CountGrouped
Sourcepub fn new(group_by: Tag) -> CountGrouped
pub fn new(group_by: Tag) -> CountGrouped
Count the number and total playtime of songs grouped by the given tag.
Sourcepub fn filter(self, filter: Filter) -> CountGrouped
pub fn filter(self, filter: Filter) -> CountGrouped
Only consider songs matching the given filter.
If called multiple times, this will overwrite the filter.
Trait Implementations§
Source§impl Clone for CountGrouped
impl Clone for CountGrouped
Source§fn clone(&self) -> CountGrouped
fn clone(&self) -> CountGrouped
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 Command for CountGrouped
impl Command for CountGrouped
Source§fn command(&self) -> RawCommand
fn command(&self) -> RawCommand
Create the raw command representation for transmission.
Source§impl Debug for CountGrouped
impl Debug for CountGrouped
Source§impl PartialEq for CountGrouped
impl PartialEq for CountGrouped
impl Eq for CountGrouped
impl StructuralPartialEq for CountGrouped
Auto Trait Implementations§
impl Freeze for CountGrouped
impl RefUnwindSafe for CountGrouped
impl Send for CountGrouped
impl Sync for CountGrouped
impl Unpin for CountGrouped
impl UnwindSafe for CountGrouped
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