pub struct InjectRequest {
pub target_agent: String,
pub message: String,
pub source_agent: Option<String>,
}Expand description
POST /agentmux/reactive/inject — deliver a message to an agent.
Used by the SendMessage and Loop MCP tools.
Fields§
§target_agent: String§message: String§source_agent: Option<String>Trait Implementations§
Source§impl Clone for InjectRequest
impl Clone for InjectRequest
Source§fn clone(&self) -> InjectRequest
fn clone(&self) -> InjectRequest
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 InjectRequest
impl Debug for InjectRequest
Source§impl<'de> Deserialize<'de> for InjectRequest
impl<'de> Deserialize<'de> for InjectRequest
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
Auto Trait Implementations§
impl Freeze for InjectRequest
impl RefUnwindSafe for InjectRequest
impl Send for InjectRequest
impl Sync for InjectRequest
impl Unpin for InjectRequest
impl UnwindSafe for InjectRequest
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