pub enum ProjectFilter {
Any,
Orphans,
Is(NativeId),
}Expand description
Which project a task must belong to.
Variants§
Any
No constraint.
Orphans
Only tasks belonging to no project.
Is(NativeId)
Only tasks belonging to this project.
Trait Implementations§
Source§impl Clone for ProjectFilter
impl Clone for ProjectFilter
Source§fn clone(&self) -> ProjectFilter
fn clone(&self) -> ProjectFilter
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 ProjectFilter
impl Debug for ProjectFilter
Source§impl Default for ProjectFilter
impl Default for ProjectFilter
Source§fn default() -> ProjectFilter
fn default() -> ProjectFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectFilter
impl<'de> Deserialize<'de> for ProjectFilter
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 ProjectFilter
impl JsonSchema for ProjectFilter
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 moreSource§impl PartialEq for ProjectFilter
impl PartialEq for ProjectFilter
Source§impl Serialize for ProjectFilter
impl Serialize for ProjectFilter
impl StructuralPartialEq for ProjectFilter
Auto Trait Implementations§
impl Freeze for ProjectFilter
impl RefUnwindSafe for ProjectFilter
impl Send for ProjectFilter
impl Sync for ProjectFilter
impl Unpin for ProjectFilter
impl UnsafeUnpin for ProjectFilter
impl UnwindSafe for ProjectFilter
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