#[non_exhaustive]pub struct ListWorkersArgs {
pub namespace: Option<Namespace>,
pub after: Option<WorkerInstanceId>,
pub limit: Option<u32>,
}Expand description
Inputs to crate::engine_backend::EngineBackend::list_workers
(RFC-025 Phase 6, §9.4).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.namespace: Option<Namespace>None = cross-namespace sweep for operator tooling.
after: Option<WorkerInstanceId>Exclusive pagination cursor.
limit: Option<u32>Default 1000 when None.
Implementations§
Trait Implementations§
Source§impl Clone for ListWorkersArgs
impl Clone for ListWorkersArgs
Source§fn clone(&self) -> ListWorkersArgs
fn clone(&self) -> ListWorkersArgs
Returns a duplicate 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 Debug for ListWorkersArgs
impl Debug for ListWorkersArgs
Source§impl Default for ListWorkersArgs
impl Default for ListWorkersArgs
Source§impl PartialEq for ListWorkersArgs
impl PartialEq for ListWorkersArgs
impl Eq for ListWorkersArgs
impl StructuralPartialEq for ListWorkersArgs
Auto Trait Implementations§
impl Freeze for ListWorkersArgs
impl RefUnwindSafe for ListWorkersArgs
impl Send for ListWorkersArgs
impl Sync for ListWorkersArgs
impl Unpin for ListWorkersArgs
impl UnsafeUnpin for ListWorkersArgs
impl UnwindSafe for ListWorkersArgs
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