pub struct TaskQuery {
pub text: Option<TextQuery>,
pub labels: LabelFilter,
pub statuses: Vec<StatusCategory>,
pub project: ProjectFilter,
}Expand description
A filter over a source’s tasks.
Every field narrows; an empty or None field means unfiltered.
Fields§
§text: Option<TextQuery>Free-text search, when the caller asked for one.
labels: LabelFilterLabel membership.
statuses: Vec<StatusCategory>Status categories to keep. Empty means unfiltered.
project: ProjectFilterWhich project the task belongs to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskQuery
impl<'de> Deserialize<'de> for TaskQuery
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
Source§impl JsonSchema for TaskQuery
impl JsonSchema for TaskQuery
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for TaskQuery
Auto Trait Implementations§
impl Freeze for TaskQuery
impl RefUnwindSafe for TaskQuery
impl Send for TaskQuery
impl Sync for TaskQuery
impl Unpin for TaskQuery
impl UnsafeUnpin for TaskQuery
impl UnwindSafe for TaskQuery
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