pub struct SandboxMessage {
pub text: String,
pub kind: String,
}Expand description
A message sent from the sandbox to the host during execution.
Fields§
§text: String§kind: String“tool_output” or another host-rendered progress event kind.
Trait Implementations§
Source§impl Clone for SandboxMessage
impl Clone for SandboxMessage
Source§fn clone(&self) -> SandboxMessage
fn clone(&self) -> SandboxMessage
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 moreAuto Trait Implementations§
impl Freeze for SandboxMessage
impl RefUnwindSafe for SandboxMessage
impl Send for SandboxMessage
impl Sync for SandboxMessage
impl Unpin for SandboxMessage
impl UnsafeUnpin for SandboxMessage
impl UnwindSafe for SandboxMessage
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