pub struct Request {
pub path_type: Path,
pub targets: Vec<Target>,
pub oneshot: bool,
pub interval: bool,
pub pending: bool,
pub exhausted: bool,
pub after_id: Option<i64>,
pub count: Option<u64>,
pub base: RequestBase,
}Fields§
§path_type: Path§targets: Vec<Target>One or more targets to list schedules for. Each resolves to a
single AIH (me → the cli’s own; instance=L[,parent=P];
tag=T BOUND-only — PENDING / ABSENT error), and rows whose
agent_instance_hierarchy equals any resolved AIH are returned.
oneshot: boolFilter to oneshot rows only. Mutually exclusive with interval.
interval: boolFilter to recurring rows only. Mutually exclusive with oneshot.
pending: boolShow only schedules currently runnable — oneshots that
have never fired, and interval rows whose interval has
elapsed. Mutually exclusive with exhausted.
exhausted: boolShow only schedules NOT currently runnable — fired
oneshots (visible briefly before the runner deletes
them) and interval rows that are cooling down. Mutually
exclusive with pending.
after_id: Option<i64>Skip rows with schedules.id <= after_id. Use the highest
id from a previous page to paginate forward.
count: Option<u64>Per-target row cap — each target’s query returns at most this
many rows (ascending id, after after_id). None = unlimited.
base: RequestBaseTrait Implementations§
Source§impl CommandRequest for Request
impl CommandRequest for Request
fn into_command(&self) -> Vec<String>
Source§fn request_base(&self) -> &RequestBase
fn request_base(&self) -> &RequestBase
RequestBase envelope (jq /
python / timeout / max_tokens). Every leaf embeds one,
so the implementation is &self.base.Source§fn request_base_mut(&mut self) -> Option<&mut RequestBase>
fn request_base_mut(&mut self) -> Option<&mut RequestBase>
RequestBase
envelope, when it has one (Some(&mut self.base)). Lets a
caller inject the envelope controls (e.g. timeout /
max_tokens) onto an already-parsed request in place, without
re-serializing it through argv — used by the MCP server.Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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>,
Source§impl JsonSchema for Request
impl JsonSchema for Request
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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
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>
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>
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