pub struct ActivityCollectionFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub user: Option<Box<UserFilter>>,
pub and: Option<Vec<Box<ActivityCollectionFilter>>>,
pub or: Option<Vec<Box<ActivityCollectionFilter>>>,
pub some: Option<Box<ActivityFilter>>,
pub every: Option<Box<ActivityFilter>>,
pub length: Option<Box<NumberComparator>>,
}Expand description
Activity collection filtering options.
Fields§
§id: Option<Box<IDComparator>>Comparator for the identifier.
created_at: Option<Box<DateComparator>>Comparator for the created at date.
updated_at: Option<Box<DateComparator>>Comparator for the updated at date.
user: Option<Box<UserFilter>>Filters that the activity’s user must satisfy.
and: Option<Vec<Box<ActivityCollectionFilter>>>Compound filters, all of which need to be matched by the activity.
or: Option<Vec<Box<ActivityCollectionFilter>>>Compound filters, one of which need to be matched by the activity.
some: Option<Box<ActivityFilter>>Filters that needs to be matched by some activities.
every: Option<Box<ActivityFilter>>Filters that needs to be matched by all activities.
length: Option<Box<NumberComparator>>Comparator for the collection length.
Trait Implementations§
Source§impl Clone for ActivityCollectionFilter
impl Clone for ActivityCollectionFilter
Source§fn clone(&self) -> ActivityCollectionFilter
fn clone(&self) -> ActivityCollectionFilter
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 ActivityCollectionFilter
impl Debug for ActivityCollectionFilter
Source§impl Default for ActivityCollectionFilter
impl Default for ActivityCollectionFilter
Source§fn default() -> ActivityCollectionFilter
fn default() -> ActivityCollectionFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityCollectionFilter
impl<'de> Deserialize<'de> for ActivityCollectionFilter
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 ActivityCollectionFilter
impl RefUnwindSafe for ActivityCollectionFilter
impl Send for ActivityCollectionFilter
impl Sync for ActivityCollectionFilter
impl Unpin for ActivityCollectionFilter
impl UnwindSafe for ActivityCollectionFilter
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