pub enum WorkListQuery {
Works(WorksQuery),
Combined {
primary_component: Component,
ident: WorksIdentQuery,
},
}
Expand description
Wraps queries that target WorkList
, either directly or combined
Variants§
Works(WorksQuery)
Target Works
directly
Combined
Target the corresponding Works
of a specific Component
Implementations§
Source§impl WorkListQuery
impl WorkListQuery
Sourcepub fn query(&self) -> &WorksQuery
pub fn query(&self) -> &WorksQuery
the underlying WorksQuery
Sourcepub fn query_mut(&mut self) -> &mut WorksQuery
pub fn query_mut(&mut self) -> &mut WorksQuery
mut reference to the underlying Worksquery
Trait Implementations§
Source§impl Clone for WorkListQuery
impl Clone for WorkListQuery
Source§fn clone(&self) -> WorkListQuery
fn clone(&self) -> WorkListQuery
Returns a copy 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 CrossrefQuery for WorkListQuery
impl CrossrefQuery for WorkListQuery
Source§fn resource_component(self) -> ResourceComponent
fn resource_component(self) -> ResourceComponent
the resource component endpoint this route targets
Source§impl CrossrefRoute for WorkListQuery
impl CrossrefRoute for WorkListQuery
Source§impl Debug for WorkListQuery
impl Debug for WorkListQuery
Source§impl<T: ToString> From<T> for WorkListQuery
impl<T: ToString> From<T> for WorkListQuery
Source§impl Into<WorkListQuery> for WorksQuery
impl Into<WorkListQuery> for WorksQuery
Source§fn into(self) -> WorkListQuery
fn into(self) -> WorkListQuery
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for WorkListQuery
impl RefUnwindSafe for WorkListQuery
impl Send for WorkListQuery
impl Sync for WorkListQuery
impl Unpin for WorkListQuery
impl UnwindSafe for WorkListQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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