pub struct ProjectLabelFilter {
pub id: Option<Box<IDComparator>>,
pub created_at: Option<Box<DateComparator>>,
pub updated_at: Option<Box<DateComparator>>,
pub name: Option<Box<StringComparator>>,
pub is_group: Option<Box<BooleanComparator>>,
pub creator: Option<Box<NullableUserFilter>>,
pub parent: Option<Box<ProjectLabelFilter>>,
pub and: Option<Vec<Box<ProjectLabelFilter>>>,
pub or: Option<Vec<Box<ProjectLabelFilter>>>,
}Expand description
Project label 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.
name: Option<Box<StringComparator>>Comparator for the name.
is_group: Option<Box<BooleanComparator>>Comparator for whether the label is a group label.
creator: Option<Box<NullableUserFilter>>Filters that the project labels creator must satisfy.
parent: Option<Box<ProjectLabelFilter>>Filters that the project label’s parent label must satisfy.
and: Option<Vec<Box<ProjectLabelFilter>>>Compound filters, all of which need to be matched by the label.
or: Option<Vec<Box<ProjectLabelFilter>>>Compound filters, one of which need to be matched by the label.
Trait Implementations§
Source§impl Clone for ProjectLabelFilter
impl Clone for ProjectLabelFilter
Source§fn clone(&self) -> ProjectLabelFilter
fn clone(&self) -> ProjectLabelFilter
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 ProjectLabelFilter
impl Debug for ProjectLabelFilter
Source§impl Default for ProjectLabelFilter
impl Default for ProjectLabelFilter
Source§fn default() -> ProjectLabelFilter
fn default() -> ProjectLabelFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectLabelFilter
impl<'de> Deserialize<'de> for ProjectLabelFilter
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 ProjectLabelFilter
impl RefUnwindSafe for ProjectLabelFilter
impl Send for ProjectLabelFilter
impl Sync for ProjectLabelFilter
impl Unpin for ProjectLabelFilter
impl UnwindSafe for ProjectLabelFilter
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