pub struct AgenticSystemQuery { /* private fields */ }Expand description
Which designs a listing wants, and how many of them.
The cursor is the last identifier the previous page returned rather than an opaque token: the catalogue is ordered by identity, the order is public, and a token that only re-encoded it would be one more thing to keep true.
Implementations§
Source§impl AgenticSystemQuery
impl AgenticSystemQuery
pub const fn new( lifecycle: Option<AgenticSystemLifecycle>, limit: AgenticSystemPageLimit, after: Option<AgenticSystemId>, ) -> Self
pub const fn lifecycle(&self) -> Option<AgenticSystemLifecycle>
pub const fn limit(&self) -> AgenticSystemPageLimit
pub const fn after(&self) -> Option<&AgenticSystemId>
Sourcepub fn admits(
&self,
id: &AgenticSystemId,
lifecycle: AgenticSystemLifecycle,
) -> bool
pub fn admits( &self, id: &AgenticSystemId, lifecycle: AgenticSystemLifecycle, ) -> bool
Whether this design belongs in the answer.
Trait Implementations§
Source§impl Clone for AgenticSystemQuery
impl Clone for AgenticSystemQuery
Source§impl Debug for AgenticSystemQuery
impl Debug for AgenticSystemQuery
Source§impl Default for AgenticSystemQuery
impl Default for AgenticSystemQuery
impl Eq for AgenticSystemQuery
Source§impl PartialEq for AgenticSystemQuery
impl PartialEq for AgenticSystemQuery
impl StructuralPartialEq for AgenticSystemQuery
Auto Trait Implementations§
impl Freeze for AgenticSystemQuery
impl RefUnwindSafe for AgenticSystemQuery
impl Send for AgenticSystemQuery
impl Sync for AgenticSystemQuery
impl Unpin for AgenticSystemQuery
impl UnsafeUnpin for AgenticSystemQuery
impl UnwindSafe for AgenticSystemQuery
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