pub struct QueueSelector {
pub task_ids: Vec<String>,
pub filter: QueueFilter,
}Expand description
Selector for POST /api/v1/admin/queue/{retry,cancel,promote,purge}.
Flattened into the query string it also serves GET /api/v1/admin/queue, so the mutation preview lists exactly the rows
a selector names.
The filter fields flatten into the selector’s own keys, so both the
JSON body {"task_ids": […], "status": "failed"} and the query string
?task_ids=a&task_ids=b&status=failed decode the same shape.
A non-empty task_ids selects exactly those rows and the filter is
ignored; otherwise the filter selects. Either way the verb’s own
status/lane predicates still apply — a mutation never touches a row
outside its transition domain.
Fields§
§task_ids: Vec<String>Explicit task ids.
filter: QueueFilterRow filter used when task_ids is empty.
Trait Implementations§
Source§impl Clone for QueueSelector
impl Clone for QueueSelector
Source§impl ComposeSchema for QueueSelector
impl ComposeSchema for QueueSelector
Source§impl Debug for QueueSelector
impl Debug for QueueSelector
Source§impl Default for QueueSelector
impl Default for QueueSelector
Source§impl<'de> Deserialize<'de> for QueueSelector
impl<'de> Deserialize<'de> for QueueSelector
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
impl Eq for QueueSelector
Source§impl PartialEq for QueueSelector
impl PartialEq for QueueSelector
Source§impl Serialize for QueueSelector
impl Serialize for QueueSelector
impl StructuralPartialEq for QueueSelector
Auto Trait Implementations§
impl Freeze for QueueSelector
impl RefUnwindSafe for QueueSelector
impl Send for QueueSelector
impl Sync for QueueSelector
impl Unpin for QueueSelector
impl UnsafeUnpin for QueueSelector
impl UnwindSafe for QueueSelector
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.