pub struct DependencyQuery {
pub project_id: Option<<String as Filterable>::Filter>,
pub blocker_task_id: Option<<String as Filterable>::Filter>,
pub blocked_task_id: Option<<String as Filterable>::Filter>,
pub blocker_project_id: Option<<Option<String> as Filterable>::Filter>,
pub blocker_ref: Option<<Option<String> as Filterable>::Filter>,
pub via: Option<<Option<String> as Filterable>::Filter>,
pub id: Option<<DependencyId as Filterable>::Filter>,
}Fields§
§project_id: Option<<String as Filterable>::Filter>§blocker_task_id: Option<<String as Filterable>::Filter>§blocked_task_id: Option<<String as Filterable>::Filter>§blocker_project_id: Option<<Option<String> as Filterable>::Filter>§blocker_ref: Option<<Option<String> as Filterable>::Filter>§via: Option<<Option<String> as Filterable>::Filter>§id: Option<<DependencyId as Filterable>::Filter>Implementations§
Source§impl DependencyQuery
impl DependencyQuery
pub fn matches(&self, item: &Dependency) -> bool
pub fn canonicalize(self) -> Self
Source§impl DependencyQuery
impl DependencyQuery
pub fn belongs_to_route(&self) -> Option<BelongsToRoute>
pub fn query_route(&self) -> Option<QueryRoute>
Trait Implementations§
Source§impl Clone for DependencyQuery
impl Clone for DependencyQuery
Source§fn clone(&self) -> DependencyQuery
fn clone(&self) -> DependencyQuery
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 DependencyQuery
impl Debug for DependencyQuery
Source§impl Default for DependencyQuery
impl Default for DependencyQuery
Source§fn default() -> DependencyQuery
fn default() -> DependencyQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependencyQuery
impl<'de> Deserialize<'de> for DependencyQuery
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 LiveFilterQuery for DependencyQuery
Available on non-WebAssembly only.
impl LiveFilterQuery for DependencyQuery
Available on non-WebAssembly only.
type Item = Dependency
fn entity_type() -> &'static str
fn matches(&self, item: &Self::Item) -> bool
Source§fn query_route(&self) -> Option<QueryRoute>
fn query_route(&self) -> Option<QueryRoute>
Source§impl PartialEq for DependencyQuery
impl PartialEq for DependencyQuery
Auto Trait Implementations§
impl Freeze for DependencyQuery
impl RefUnwindSafe for DependencyQuery
impl Send for DependencyQuery
impl Sync for DependencyQuery
impl Unpin for DependencyQuery
impl UnsafeUnpin for DependencyQuery
impl UnwindSafe for DependencyQuery
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CellValue for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more