pub struct Capabilities {
pub projects: Support,
pub orphan_tasks: Support,
pub filter_by_label: Support,
pub filter_by_status: Support,
pub search_title: Support,
pub search_content: Support,
pub task_dependencies: DependencySupport,
pub project_dependencies: DependencySupport,
pub max_page_size: u32,
}Expand description
One source’s declared abilities.
Fields§
§projects: SupportWhether the source has projects at all.
orphan_tasks: SupportWhether the source can select tasks belonging to no project.
filter_by_label: SupportWhether the source filters by label itself.
filter_by_status: SupportWhether the source filters by status itself.
search_title: SupportWhether the source searches titles itself.
search_content: SupportWhether the source searches bodies itself.
task_dependencies: DependencySupportHow far the source can walk task dependencies.
project_dependencies: DependencySupportHow far the source can walk project dependencies.
max_page_size: u32The largest page the source will serve. At least 1 — a source that serves no rows cannot be paged, and every implementation rejects zero where its config is read.
Trait Implementations§
Source§impl Clone for Capabilities
impl Clone for Capabilities
Source§fn clone(&self) -> Capabilities
fn clone(&self) -> Capabilities
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 Capabilities
impl Debug for Capabilities
Source§impl<'de> Deserialize<'de> for Capabilities
impl<'de> Deserialize<'de> for Capabilities
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 Capabilities
impl JsonSchema for Capabilities
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 Capabilities
impl PartialEq for Capabilities
Source§impl Serialize for Capabilities
impl Serialize for Capabilities
impl StructuralPartialEq for Capabilities
Auto Trait Implementations§
impl Freeze for Capabilities
impl RefUnwindSafe for Capabilities
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnsafeUnpin for Capabilities
impl UnwindSafe for Capabilities
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