pub struct ControlIn {
pub id: Option<String>,
pub message: Option<String>,
pub payload: Option<Option<Value>>,
}Fields§
§id: Option<String>ID is the session to steer, from the path.
message: Option<String>Message is free text for the running agent, up to 16 KiB. On a stop it is recorded as the cancellation reason.
payload: Option<Option<Value>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ControlIn
impl<'de> Deserialize<'de> for ControlIn
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
impl StructuralPartialEq for ControlIn
Auto Trait Implementations§
impl Freeze for ControlIn
impl RefUnwindSafe for ControlIn
impl Send for ControlIn
impl Sync for ControlIn
impl Unpin for ControlIn
impl UnsafeUnpin for ControlIn
impl UnwindSafe for ControlIn
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