#[non_exhaustive]pub struct WorkflowStateFilter {
pub and: Option<Vec<WorkflowStateFilter>>,
pub or: Option<Vec<WorkflowStateFilter>>,
pub id: Option<IdComparator>,
pub name: Option<StringComparator>,
pub type: Option<StringComparator>,
pub team: Option<TeamFilter>,
}Expand description
Filter for workflow states (WorkflowStateFilter input).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.and: Option<Vec<WorkflowStateFilter>>All sub-filters must match.
or: Option<Vec<WorkflowStateFilter>>At least one sub-filter must match.
id: Option<IdComparator>Filter by state ID.
name: Option<StringComparator>Filter by state name.
type: Option<StringComparator>Filter by state type ("triage", "backlog", "unstarted",
"started", "completed", "canceled").
team: Option<TeamFilter>Filter by owning team.
Implementations§
Source§impl WorkflowStateFilter
impl WorkflowStateFilter
Sourcepub fn builder() -> WorkflowStateFilterBuilder
pub fn builder() -> WorkflowStateFilterBuilder
Create an instance of WorkflowStateFilter using the builder syntax
Trait Implementations§
Source§impl Clone for WorkflowStateFilter
impl Clone for WorkflowStateFilter
Source§fn clone(&self) -> WorkflowStateFilter
fn clone(&self) -> WorkflowStateFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkflowStateFilter
impl Debug for WorkflowStateFilter
Source§impl Default for WorkflowStateFilter
impl Default for WorkflowStateFilter
Source§fn default() -> WorkflowStateFilter
fn default() -> WorkflowStateFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkflowStateFilter
impl RefUnwindSafe for WorkflowStateFilter
impl Send for WorkflowStateFilter
impl Sync for WorkflowStateFilter
impl Unpin for WorkflowStateFilter
impl UnsafeUnpin for WorkflowStateFilter
impl UnwindSafe for WorkflowStateFilter
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