pub struct FeedItemFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub author: Option<Box<UserFilter>>,
pub update_type: Option<Box<StringComparator>>,
pub update_health: Option<Box<StringComparator>>,
pub project_update: Option<Box<ProjectUpdateFilter>>,
pub related_initiatives: Option<Box<InitiativeCollectionFilter>>,
pub related_teams: Option<Box<TeamCollectionFilter>>,
pub and: Option<Vec<Box<FeedItemFilter>>>,
pub or: Option<Vec<Box<FeedItemFilter>>>,
}Expand description
Feed item 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.
Filters that the feed item author must satisfy.
update_type: Option<Box<StringComparator>>Comparator for the update type: initiative, project, team
update_health: Option<Box<StringComparator>>Comparator for the project or initiative update health: onTrack, atRisk, offTrack
project_update: Option<Box<ProjectUpdateFilter>>Filters that the feed item’s project update must satisfy.
Filters that the related feed item initiatives must satisfy.
Filters that the related feed item team must satisfy.
and: Option<Vec<Box<FeedItemFilter>>>Compound filters, all of which need to be matched by the feed item.
or: Option<Vec<Box<FeedItemFilter>>>Compound filters, one of which need to be matched by the feed item.
Trait Implementations§
Source§impl Clone for FeedItemFilter
impl Clone for FeedItemFilter
Source§fn clone(&self) -> FeedItemFilter
fn clone(&self) -> FeedItemFilter
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 FeedItemFilter
impl Debug for FeedItemFilter
Source§impl Default for FeedItemFilter
impl Default for FeedItemFilter
Source§fn default() -> FeedItemFilter
fn default() -> FeedItemFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeedItemFilter
impl<'de> Deserialize<'de> for FeedItemFilter
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 FeedItemFilter
impl RefUnwindSafe for FeedItemFilter
impl Send for FeedItemFilter
impl Sync for FeedItemFilter
impl Unpin for FeedItemFilter
impl UnwindSafe for FeedItemFilter
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