pub struct ActivityFilters {
pub exclude_idle: Option<bool>,
pub category_ids: Option<Vec<i64>>,
}Expand description
Filters for querying activities
Used with get_activities() to filter results at the database level.
All fields are optional - if not provided, no filtering is applied for that field.
Fields§
§exclude_idle: Option<bool>Exclude idle activities (where is_idle = true)
category_ids: Option<Vec<i64>>Filter by category IDs (activities must have category_id in this list)
Trait Implementations§
Source§impl Clone for ActivityFilters
impl Clone for ActivityFilters
Source§fn clone(&self) -> ActivityFilters
fn clone(&self) -> ActivityFilters
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 ActivityFilters
impl Debug for ActivityFilters
Source§impl<'de> Deserialize<'de> for ActivityFilters
impl<'de> Deserialize<'de> for ActivityFilters
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 ActivityFilters
impl RefUnwindSafe for ActivityFilters
impl Send for ActivityFilters
impl Sync for ActivityFilters
impl Unpin for ActivityFilters
impl UnwindSafe for ActivityFilters
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