pub struct RunCanvasLoopRequest {
pub supervisor_agent_id: String,
pub worker_ids: Vec<String>,
pub loop_id: String,
pub condition: Option<String>,
pub prompt: Option<String>,
}Expand description
RunCanvasLoopRequest model.
Fields§
§supervisor_agent_id: String§worker_ids: Vec<String>The agents drawn inside the loop. An empty array is 400 (“this loop has no worker agents inside it”), so it is required in practice and declared so here.
loop_id: StringWhich drawn loop to run. Required — the handler 400s without it, and it is the key the persisted layout is looked up by.
condition: Option<String>Overrides the exit condition stored on the drawn loop for this run only. Read at canvas.ts:234; was undocumented, so a client generated from this document could not send it.
prompt: Option<String>Overrides the loop’s stored instruction for this run only. Read at canvas.ts:238.
Trait Implementations§
Source§impl Clone for RunCanvasLoopRequest
impl Clone for RunCanvasLoopRequest
Source§fn clone(&self) -> RunCanvasLoopRequest
fn clone(&self) -> RunCanvasLoopRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunCanvasLoopRequest
impl Debug for RunCanvasLoopRequest
Source§impl Default for RunCanvasLoopRequest
impl Default for RunCanvasLoopRequest
Source§fn default() -> RunCanvasLoopRequest
fn default() -> RunCanvasLoopRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunCanvasLoopRequest
impl<'de> Deserialize<'de> for RunCanvasLoopRequest
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
Source§impl PartialEq for RunCanvasLoopRequest
impl PartialEq for RunCanvasLoopRequest
Source§impl Serialize for RunCanvasLoopRequest
impl Serialize for RunCanvasLoopRequest
impl StructuralPartialEq for RunCanvasLoopRequest
Auto Trait Implementations§
impl Freeze for RunCanvasLoopRequest
impl RefUnwindSafe for RunCanvasLoopRequest
impl Send for RunCanvasLoopRequest
impl Sync for RunCanvasLoopRequest
impl Unpin for RunCanvasLoopRequest
impl UnsafeUnpin for RunCanvasLoopRequest
impl UnwindSafe for RunCanvasLoopRequest
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