pub struct InitiativeUpdateFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub user: Option<Box<UserFilter>>,
pub initiative: Option<Box<InitiativeFilter>>,
pub reactions: Option<Box<ReactionCollectionFilter>>,
pub and: Option<Vec<Box<InitiativeUpdateFilter>>>,
pub or: Option<Vec<Box<InitiativeUpdateFilter>>>,
}Expand description
Options for filtering initiative updates.
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 initiative update creator must satisfy.
initiative: Option<Box<InitiativeFilter>>Filters that the initiative update initiative must satisfy.
reactions: Option<Box<ReactionCollectionFilter>>Filters that the initiative updates reactions must satisfy.
and: Option<Vec<Box<InitiativeUpdateFilter>>>Compound filters, all of which need to be matched by the InitiativeUpdate.
or: Option<Vec<Box<InitiativeUpdateFilter>>>Compound filters, one of which need to be matched by the InitiativeUpdate.
Trait Implementations§
Source§impl Clone for InitiativeUpdateFilter
impl Clone for InitiativeUpdateFilter
Source§fn clone(&self) -> InitiativeUpdateFilter
fn clone(&self) -> InitiativeUpdateFilter
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 InitiativeUpdateFilter
impl Debug for InitiativeUpdateFilter
Source§impl Default for InitiativeUpdateFilter
impl Default for InitiativeUpdateFilter
Source§fn default() -> InitiativeUpdateFilter
fn default() -> InitiativeUpdateFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InitiativeUpdateFilter
impl<'de> Deserialize<'de> for InitiativeUpdateFilter
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 InitiativeUpdateFilter
impl RefUnwindSafe for InitiativeUpdateFilter
impl Send for InitiativeUpdateFilter
impl Sync for InitiativeUpdateFilter
impl Unpin for InitiativeUpdateFilter
impl UnwindSafe for InitiativeUpdateFilter
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