pub struct ExecuteResponse {
pub session_id: String,
pub status: String,
pub events_url: String,
pub sync: Option<ExecuteSyncInfo>,
}Expand description
Response returned after triggering agent execution.
§Fields
session_id- The session identifierstatus- Execution status (“started”, “completed”, “already_running”)events_url- URL endpoint to subscribe to agent events (SSE)
Fields§
§session_id: StringSession identifier for tracking this execution
status: StringCurrent execution status
events_url: StringSSE endpoint URL for receiving real-time events
sync: Option<ExecuteSyncInfo>Optional sync snapshot allowing the frontend to reconcile with server state.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecuteResponse
impl RefUnwindSafe for ExecuteResponse
impl Send for ExecuteResponse
impl Sync for ExecuteResponse
impl Unpin for ExecuteResponse
impl UnsafeUnpin for ExecuteResponse
impl UnwindSafe for ExecuteResponse
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